Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
19 | 1 | public static function inferenceFailed($code, array $item, array $fillers) |
|
20 | { |
||
21 | 1 | return new static( |
|
22 | 1 | sprintf( |
|
23 | 1 | 'Unable to infer item code %s from %s (known fillers are %s)', |
|
24 | 1 | $code, |
|
25 | 1 | implode(',', array_keys($item)), |
|
26 | 1 | implode(',', array_keys($fillers)) |
|
27 | 1 | ) |
|
28 | 1 | ); |
|
29 | } |
||
30 | |||
36 |