Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
29 | public function matchesMethod(ReflectionMethod $method, array $arguments): bool |
||
30 | 2 | { |
|
31 | /** @var array<class-string> $arguments */ |
||
32 | 2 | [$annotation] = $arguments; |
|
33 | 2 | $annotation = ServiceLocator::getReader()->getMethodAnnotation($method, $annotation); |
|
34 | |||
35 | 2 | return (bool) $annotation; |
|
36 | } |
||
38 |