Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 3 |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
32 | 3 | public function matchesMethod(\ReflectionMethod $method, array $arguments) |
|
33 | { |
||
34 | 3 | foreach ($arguments as $matcher) { |
|
35 | /* @var $matcher AbstractMatcher */ |
||
36 | 3 | $isMatch = $matcher->matchesMethod($method, $matcher->getArguments()); |
|
37 | 3 | if ($isMatch === true) { |
|
38 | 2 | return true; |
|
39 | } |
||
40 | 2 | } |
|
41 | |||
42 | 1 | return false; |
|
43 | } |
||
44 | } |
||
45 |