Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b8deb11

Browse files
committed
fix AnnotationDriver check
1 parent f3f1dae commit b8deb11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Doctrine/Mapping/ClassMetadataFactory.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function __construct(string $tmpDir)
2929
protected function initialize(): void
3030
{
3131
$drivers = [];
32-
if (class_exists(AnnotationReader::class)) {
32+
if (class_exists(AnnotationDriver::class)) {
3333
$docParser = new DocParser();
3434
$docParser->setIgnoreNotImportedAnnotations(true);
3535
$drivers[] = new AnnotationDriver(new AnnotationReader($docParser));

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /