Commit 83be274 1 parent c8942f0 commit 83be274 Copy full SHA for 83be274
File tree 1 file changed +2
-5
lines changed
src/Prophecy/PhpDocumentor
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 19
19
*/
20
20
final class ClassAndInterfaceTagRetriever implements MethodTagRetrieverInterface
21
21
{
22
- /**
23
- * @var MethodTagRetrieverInterface
24
- */
25
22
private $ classRetriever ;
26
23
27
24
public function __construct (MethodTagRetrieverInterface $ classRetriever = null )
@@ -32,7 +29,7 @@ public function __construct(MethodTagRetrieverInterface $classRetriever = null)
32
29
return ;
33
30
}
34
31
35
- $ this ->classRetriever = ( class_exists ('phpDocumentor\Reflection\DocBlockFactory ' ) && class_exists ('phpDocumentor\Reflection\Types\ContextFactory ' ) )
32
+ $ this ->classRetriever = class_exists ('phpDocumentor\Reflection\DocBlockFactory ' ) && class_exists ('phpDocumentor\Reflection\Types\ContextFactory ' )
36
33
? new ClassTagRetriever ()
37
34
: new LegacyClassTagRetriever ()
38
35
;
@@ -62,7 +59,7 @@ private function getInterfacesTagList(\ReflectionClass $reflectionClass)
62
59
$ tagList = array ();
63
60
64
61
foreach ($ interfaces as $ interface ) {
65
- $ tagList = array_merge ($ tagList , $ this ->getTagList ($ interface ));
62
+ $ tagList = array_merge ($ tagList , $ this ->classRetriever -> getTagList ($ interface ));
66
63
}
67
64
68
65
return $ tagList ;
You can’t perform that action at this time.
0 commit comments