Skip to content

Commit db93dd2

Browse files
Alexandru PanturuAlexandru Panturu
authored andcommitted
FIX: use php 5.3 array
1 parent 757bcc6 commit db93dd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

DependencyInjection/Compiler/InjectEventDispatcherPass.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ public function process(ContainerBuilder $container)
3030
$definition = $container->getDefinition($id);
3131
$definition->addMethodCall(
3232
'setEventDispatcher',
33-
[
33+
array(
3434
new Reference(self::EVENT_DISPATCHER_SERVICE_ID, ContainerInterface::IGNORE_ON_INVALID_REFERENCE)
35-
]
35+
)
3636
);
3737
}
3838

0 commit comments

Comments
 (0)