Skip to content

Commit bbf20e2

Browse files
[DependencyInjection] Symfony5の対応を行った。
1 parent 0a0886c commit bbf20e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DependencyInjection/Compiler/ReplaceFileLoadersPass.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function process(ContainerBuilder $container)
5454
case 'addYamlMappings':
5555
$metadataFactoryFactoryDefinition->addMethodCall($method, $arguments);
5656
break;
57-
case 'enableAnnotationMapping':
57+
case 'setDoctrineAnnotationReader':
5858
$metadataFactoryFactoryDefinition->addMethodCall('setAnnotationReader', array(clone $arguments[0]));
5959
break;
6060
case 'setMetadataCache':

0 commit comments

Comments
 (0)