File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
src/Config/Parser/MetadataParser/TypeGuesser Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 7
7
use Exception ;
8
8
use phpDocumentor \Reflection \DocBlock \Tags \TagWithType ;
9
9
use phpDocumentor \Reflection \DocBlockFactory ;
10
+ use phpDocumentor \Reflection \DocBlockFactoryInterface ;
10
11
use phpDocumentor \Reflection \Type ;
11
12
use phpDocumentor \Reflection \Types \AbstractList ;
12
13
use phpDocumentor \Reflection \Types \Compound ;
24
25
25
26
final class DocBlockTypeGuesser extends PhpTypeGuesser
26
27
{
27
- protected ?DocBlockFactory $ factory ;
28
+ protected ?DocBlockFactoryInterface $ factory ;
28
29
29
30
public function getName (): string
30
31
{
@@ -128,7 +129,7 @@ protected function resolveCompound(Compound $compound): ?Type
128
129
return null ;
129
130
}
130
131
131
- private function getParser (): DocBlockFactory
132
+ private function getParser (): DocBlockFactoryInterface
132
133
{
133
134
if (!isset ($ this ->factory )) {
134
135
$ this ->factory = DocBlockFactory::createInstance ();
You can’t perform that action at this time.
0 commit comments