| Conditions | 3 |
| Paths | 3 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 18 | 3 | public function matchesClass(ReflectionClass $class, array $arguments): bool |
|
| 19 | { |
||
| 20 | 3 | $isAnd = true; |
|
| 21 | 3 | foreach ($arguments as $matcher) { |
|
| 22 | assert($matcher instanceof AbstractMatcher); |
||
| 23 | 3 | $isAnd = $isAnd && $matcher->matchesClass($class, $matcher->getArguments()); |
|
| 24 | } |
||
| 25 | |||
| 26 | 3 | return $isAnd; |
|
| 27 | } |
||
| 43 |