fix deprecated
This commit is contained in:
parent
0984edf462
commit
a038ee50f4
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue