Skip to content

Commit 553b68a

Browse files
committed
Fix mapping driver import
1 parent 27987ab commit 553b68a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CountryExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function beforeCompile(): void
2121
->addAnnotation('Rixafy\Country', __DIR__ . '/../../../rixafy/country');
2222
} else {
2323
/** @var ServiceDefinition $annotationDriver */
24-
$annotationDriver = $this->getContainerBuilder()->getDefinitionByType(AnnotationDriver::class);
24+
$annotationDriver = $this->getContainerBuilder()->getDefinitionByType(MappingDriver::class);
2525
$annotationDriver->addSetup('addPaths', [['vendor/rixafy/country']]);
2626
}
2727
}

0 commit comments

Comments
 (0)