Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
24 | public static function cannotBeScalar( |
||
25 | string $type, |
||
26 | string $key, |
||
27 | string $name |
||
28 | ): self { |
||
29 | return new self(sprintf( |
||
30 | 'Unexpected %s while transforming the json from key `%s` for in ' . |
||
31 | 'the property `%s`: expecting an array', |
||
32 | $type, |
||
33 | $key, |
||
34 | $name |
||
35 | )); |
||
38 |