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 77use Exception ;
88use phpDocumentor \Reflection \DocBlock \Tags \TagWithType ;
99use phpDocumentor \Reflection \DocBlockFactory ;
10+ use phpDocumentor \Reflection \DocBlockFactoryInterface ;
1011use phpDocumentor \Reflection \Type ;
1112use phpDocumentor \Reflection \Types \AbstractList ;
1213use phpDocumentor \Reflection \Types \Compound ;
2425
2526final class DocBlockTypeGuesser extends PhpTypeGuesser
2627{
27- protected ?DocBlockFactory $ factory ;
28+ protected ?DocBlockFactoryInterface $ factory ;
2829
2930 public function getName (): string
3031 {
@@ -128,7 +129,7 @@ protected function resolveCompound(Compound $compound): ?Type
128129 return null ;
129130 }
130131
131- private function getParser (): DocBlockFactory
132+ private function getParser (): DocBlockFactoryInterface
132133 {
133134 if (!isset ($ this ->factory )) {
134135 $ this ->factory = DocBlockFactory::createInstance ();
You can’t perform that action at this time.
0 commit comments