Conditions | 3 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 3 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
30 | 1 | public function matchesMethod(\ReflectionMethod $method, array $arguments) |
|
31 | { |
||
32 | 1 | $isAnd = true; |
|
33 | 1 | foreach ($arguments as $matcher) { |
|
34 | /* @var $matcher AbstractMatcher */ |
||
35 | 1 | $isAnd = $isAnd && $matcher->matchesMethod($method, $matcher->getArguments()); |
|
36 | 1 | } |
|
37 | |||
38 | 1 | return $isAnd; |
|
39 | } |
||
40 | } |
||
41 |