Skip to content

Commit 44d1cb5

Browse files
authored
Merge pull request #841 from doctrine/malarzm-patch-1
Use Reader instead of concrete AnnotationReader in docblocks
2 parents de19a0b + 411b357 commit 44d1cb5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/Doctrine/Common/Persistence/Mapping/Driver/AnnotationDriver.php

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
namespace Doctrine\Common\Persistence\Mapping\Driver;
33

4-
use Doctrine\Common\Annotations\AnnotationReader;
4+
use Doctrine\Common\Annotations\Reader;
55
use Doctrine\Common\Persistence\Mapping\MappingException;
66

77
/**
@@ -16,9 +16,9 @@
1616
abstract class AnnotationDriver implements MappingDriver
1717
{
1818
/**
19-
* The AnnotationReader.
19+
* The annotation reader.
2020
*
21-
* @var AnnotationReader
21+
* @var Reader
2222
*/
2323
protected $reader;
2424

@@ -61,7 +61,7 @@ abstract class AnnotationDriver implements MappingDriver
6161
* Initializes a new AnnotationDriver that uses the given AnnotationReader for reading
6262
* docblock annotations.
6363
*
64-
* @param AnnotationReader $reader The AnnotationReader to use, duck-typed.
64+
* @param Reader $reader The annotation Reader to use, duck-typed.
6565
* @param string|array|null $paths One or multiple paths where mapping classes can be found.
6666
*/
6767
public function __construct($reader, $paths = null)
@@ -117,7 +117,7 @@ public function getExcludePaths()
117117
/**
118118
* Retrieve the current annotation reader
119119
*
120-
* @return AnnotationReader
120+
* @return Reader
121121
*/
122122
public function getReader()
123123
{

0 commit comments

Comments
 (0)