Skip to content

Commit 66a1c5c

Browse files
committed
Bypass parent constructor
1 parent 3512b07 commit 66a1c5c

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lib/Doctrine/ORM/Mapping/Driver/AttributeDriver.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,13 @@ class AttributeDriver extends AnnotationDriver
3434
Mapping\MappedSuperclass::class => 2,
3535
];
3636

37+
/**
38+
* The annotation reader.
39+
*
40+
* @var AttributeReader
41+
*/
42+
protected $reader;
43+
3744
/**
3845
* @param array<string> $paths
3946
*/
@@ -46,7 +53,8 @@ public function __construct(array $paths)
4653
));
4754
}
4855

49-
parent::__construct(new AttributeReader(), $paths);
56+
$this->reader = new AttributeReader();
57+
$this->addPaths($paths);
5058
}
5159

5260
/**

0 commit comments

Comments
 (0)