| Conditions | 3 | 
| Paths | 3 | 
| Total Lines | 13 | 
| Code Lines | 4 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 5 | 
| CRAP Score | 3 | 
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); | ||
| 20 | 56 | public function resolveFromDocBlock( | |
| 21 | ?string $docBlock, | ||
| 22 | TagName $tagName, | ||
| 23 | UseStatements $useStatements, | ||
| 24 | callable $filter = null | ||
| 25 |     ): TypeDeclaration { | ||
| 26 | 56 |         if ($docBlock === null) { | |
| 27 | 25 | return TypeDeclaration::absent(); | |
| 28 | } | ||
| 29 | |||
| 30 | 49 | $returnType = $this->typeFactory->typeFromTag($docBlock, $tagName, $filter); | |
| 31 | |||
| 32 | 49 | return $returnType instanceof TagType ? $returnType->resolve($useStatements) : TypeDeclaration::absent(); | |
| 33 | } | ||
| 35 | 
The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g.
excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths