diff --git a/config/packages/security.yaml b/config/packages/security.yaml index 9665acd..225caea 100644 --- a/config/packages/security.yaml +++ b/config/packages/security.yaml @@ -34,10 +34,10 @@ security: logout: path: auth_logout target: / - remember_me: - secret: '%kernel.secret%' - lifetime: 604800 - path: / + # remember_me: + # secret: '%kernel.secret%' + # lifetime: 604800 + # path: / # Easy way to control access for large sections of your site # Note: Only the *first* access control that matches will be used diff --git a/core/Bundle/CoreBundle.php b/core/Bundle/CoreBundle.php index ad40278..034a544 100644 --- a/core/Bundle/CoreBundle.php +++ b/core/Bundle/CoreBundle.php @@ -13,10 +13,11 @@ namespace App\Core\Bundle; use App\Core\DependencyInjection\CoreExtension; use Symfony\Component\HttpKernel\Bundle\Bundle; +use Symfony\Component\DependencyInjection\Extension\ExtensionInterface; class CoreBundle extends Bundle { - public function getContainerExtension() + public function getContainerExtension(): ?ExtensionInterface { return new CoreExtension(); } diff --git a/src/Bundle/AppBundle.php b/src/Bundle/AppBundle.php index 06b408c..a068ff3 100644 --- a/src/Bundle/AppBundle.php +++ b/src/Bundle/AppBundle.php @@ -13,10 +13,11 @@ namespace App\Bundle; use App\DependencyInjection\AppExtension; use Symfony\Component\HttpKernel\Bundle\Bundle; +use Symfony\Component\DependencyInjection\Extension\ExtensionInterface; class AppBundle extends Bundle { - public function getContainerExtension() + public function getContainerExtension(): ?ExtensionInterface { return new AppExtension(); }