| Conditions | 3 |
| Paths | 3 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | public function matchesMethod(ReflectionMethod $method, array $arguments): bool |
||
| 30 | { |
||
| 31 | $params = $method->getParameters(); |
||
| 32 | foreach ($params as $param) { |
||
| 33 | /** @var list<ReflectionAttribute> $attributes */ |
||
|
|
|||
| 34 | $attributes = $param->getAttributes(Inject::class); |
||
| 35 | if (isset($attributes[0])) { |
||
| 36 | return true; |
||
| 37 | } |
||
| 38 | } |
||
| 39 | |||
| 40 | return false; |
||
| 41 | } |
||
| 42 | } |
||
| 43 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.