mirror of
https://github.com/symfony/ux-dropzone.git
synced 2026-03-23 23:52:08 +01:00
Run PHP-CS-Fixer (no_useless_else & static_lambda)
This commit is contained in:
@@ -33,7 +33,7 @@ class FrameworkAppKernel extends Kernel
|
||||
|
||||
public function registerContainerConfiguration(LoaderInterface $loader): void
|
||||
{
|
||||
$loader->load(function (ContainerBuilder $container) {
|
||||
$loader->load(static function (ContainerBuilder $container) {
|
||||
$container->loadFromExtension('framework', [
|
||||
'secret' => '$ecret',
|
||||
'test' => true,
|
||||
|
||||
@@ -36,7 +36,7 @@ class TwigAppKernel extends Kernel
|
||||
|
||||
public function registerContainerConfiguration(LoaderInterface $loader): void
|
||||
{
|
||||
$loader->load(function (ContainerBuilder $container) {
|
||||
$loader->load(static function (ContainerBuilder $container) {
|
||||
$container->loadFromExtension('framework', [
|
||||
'secret' => '$ecret',
|
||||
'test' => true,
|
||||
|
||||
Reference in New Issue
Block a user