| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 2 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 17 | public function matchesClass(ReflectionClass $class, array $arguments): bool |
||
| 18 | { |
||
| 19 | /** @var array<class-string> $arguments */ |
||
| 20 | [$annotation] = $arguments; |
||
| 21 | 5 | $annotation = ServiceLocator::getReader()->getClassAnnotation($class, $annotation); |
|
| 22 | |||
| 23 | 5 | return (bool) $annotation; |
|
| 24 | 5 | } |
|
| 38 |