1
0
mirror of synced 2025-02-22 15:13:13 +03:00

Merge branch 'DDC-1133'

This commit is contained in:
Benjamin Eberlei 2011-04-30 14:23:59 +02:00
commit d72217a00a

View File

@ -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) {