Skip to content

Commit 884f10d

Browse files
committed
bug #974 Fix method call definition (ajgarlag)
This PR was merged into the 1.0-dev branch. Discussion ---------- Fix method call definition Fix #897 Commits ------- 78b170b Fix method call definition
2 parents 93d7cdb + 78b170b commit 884f10d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DependencyInjection/CompilerPass/SetDoctrineAnnotatedPrefixesPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function process(ContainerBuilder $container): void
5656
$id = sprintf('.%d_annotation_metadata_driver~%s', $i, ContainerBuilder::hash($arguments));
5757
$container->setDefinition($id, $arguments[0]);
5858
$arguments[0] = new Reference($id);
59-
$methodCalls[$i] = $arguments;
59+
$methodCalls[$i] = [$method, $arguments];
6060
}
6161

6262
$isAnnotated = false !== strpos($arguments[0], '_annotation_metadata_driver');

0 commit comments

Comments
 (0)