When a JSON configuration file omits an array, we can assume
the configuration author intent is to pass an empty array.
Fixes T1179.
Differential D947
Ensure ItemGroupMapping::$items is always an array dereckson on Apr 9 2017, 12:16. Authored by Tags None Referenced Files
Subscribers None
Details When a JSON configuration file omits an array, we can assume Fixes T1179. A new unit test is provided, to ensure the payload is well The tests correctly fails before the fix and passes after: - 'items' => null + 'items' => Array ()
Diff Detail
|