| Conditions | 3 |
| Paths | 3 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | 3 | public function matchesMethod(ReflectionMethod $method, array $arguments): bool |
|
| 35 | { |
||
| 36 | 3 | foreach ($arguments as $matcher) { |
|
| 37 | assert($matcher instanceof AbstractMatcher); |
||
| 38 | 3 | $isMatch = $matcher->matchesMethod($method, $matcher->getArguments()); |
|
| 39 | 3 | if ($isMatch === true) { |
|
| 40 | 3 | return true; |
|
| 41 | } |
||
| 42 | } |
||
| 43 | |||
| 44 | 1 | return false; |
|
| 45 | } |
||
| 47 |