| Total Complexity | 1 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 16 | final class NonIterableCollection extends RuntimeException implements DeserializationFailure |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Produces a deserialization exception to throw when a collection turns out |
||
| 20 | * not to be iterable. |
||
| 21 | * |
||
| 22 | * @param object $collection The object that turns out not to be iterable. |
||
| 23 | * @return DeserializationFailure The deserialization exception to throw. |
||
| 24 | */ |
||
| 25 | public static function invalid(object $collection): DeserializationFailure |
||
| 33 |