Merge branch 'DDC-1133'
This commit is contained in:
commit
d72217a00a
@ -67,10 +67,10 @@ class AnnotationDriver implements Driver
|
|||||||
* Initializes a new AnnotationDriver that uses the given AnnotationReader for reading
|
* Initializes a new AnnotationDriver that uses the given AnnotationReader for reading
|
||||||
* docblock annotations.
|
* docblock annotations.
|
||||||
*
|
*
|
||||||
* @param $reader The AnnotationReader to use.
|
* @param AnnotationReader $reader The AnnotationReader to use, duck-typed.
|
||||||
* @param string|array $paths One or multiple paths where mapping classes can be found.
|
* @param string|array $paths One or multiple paths where mapping classes can be found.
|
||||||
*/
|
*/
|
||||||
public function __construct(AnnotationReader $reader, $paths = null)
|
public function __construct($reader, $paths = null)
|
||||||
{
|
{
|
||||||
$this->_reader = $reader;
|
$this->_reader = $reader;
|
||||||
if ($paths) {
|
if ($paths) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user