fix deprecated
This commit is contained in:
parent
0984edf462
commit
a038ee50f4
|
@ -34,10 +34,10 @@ security:
|
||||||
logout:
|
logout:
|
||||||
path: auth_logout
|
path: auth_logout
|
||||||
target: /
|
target: /
|
||||||
remember_me:
|
# remember_me:
|
||||||
secret: '%kernel.secret%'
|
# secret: '%kernel.secret%'
|
||||||
lifetime: 604800
|
# lifetime: 604800
|
||||||
path: /
|
# path: /
|
||||||
|
|
||||||
# Easy way to control access for large sections of your site
|
# Easy way to control access for large sections of your site
|
||||||
# Note: Only the *first* access control that matches will be used
|
# 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 App\Core\DependencyInjection\CoreExtension;
|
||||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||||
|
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
|
||||||
|
|
||||||
class CoreBundle extends Bundle
|
class CoreBundle extends Bundle
|
||||||
{
|
{
|
||||||
public function getContainerExtension()
|
public function getContainerExtension(): ?ExtensionInterface
|
||||||
{
|
{
|
||||||
return new CoreExtension();
|
return new CoreExtension();
|
||||||
}
|
}
|
||||||
|
|
|
@ -13,10 +13,11 @@ namespace App\Bundle;
|
||||||
|
|
||||||
use App\DependencyInjection\AppExtension;
|
use App\DependencyInjection\AppExtension;
|
||||||
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
use Symfony\Component\HttpKernel\Bundle\Bundle;
|
||||||
|
use Symfony\Component\DependencyInjection\Extension\ExtensionInterface;
|
||||||
|
|
||||||
class AppBundle extends Bundle
|
class AppBundle extends Bundle
|
||||||
{
|
{
|
||||||
public function getContainerExtension()
|
public function getContainerExtension(): ?ExtensionInterface
|
||||||
{
|
{
|
||||||
return new AppExtension();
|
return new AppExtension();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue