Conditions | 2 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
9 | 1 | public static function unsupportedArgumentToMatch(ConditionInterface $condition, $argument) |
|
10 | { |
||
11 | 1 | return new static( |
|
12 | 1 | sprintf( |
|
13 | 1 | '%s cannot match argument of type %s', |
|
14 | 1 | get_class($condition), |
|
15 | 1 | is_object($argument) ? get_class($argument) : gettype($argument) |
|
16 | 1 | ) |
|
17 | 1 | ); |
|
18 | } |
||
19 | } |
||
20 |