| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 34 | 3 | public static function incorrectArrayDefinitionMethodArguments(string $key, mixed $value): InvalidConfigException |
|
| 35 | { |
||
| 36 | 3 | return new InvalidConfigException( |
|
| 37 | 3 | sprintf( |
|
| 38 | 3 | 'Invalid definition: incorrect method "%s" arguments. Expected array, got "%s". ' . |
|
| 39 | 3 | 'Probably you should wrap them into square brackets.', |
|
| 40 | 3 | $key, |
|
| 41 | 3 | get_debug_type($value), |
|
| 42 | 3 | ) |
|
| 46 |