Skip to content

Commit 9255b76

Browse files
authored
Merge pull request #387 from alexandrupanturu/master
FIX: use php 5.3 array
2 parents 757bcc6 + db93dd2 commit 9255b76

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)