File tree Expand file tree Collapse file tree 3 files changed +3
-12
lines changed Expand file tree Collapse file tree 3 files changed +3
-12
lines changed Original file line number Diff line number Diff line change @@ -191,10 +191,7 @@ private function populateResultItemList(array $json): array
191191 {
192192 $ items = [];
193193 foreach ($ json as $ item ) {
194- $ a = empty ($ item ) ? [] : $ this ->populateResultAttributeMap ($ item );
195- if (null !== $ a ) {
196- $ items [] = $ a ;
197- }
194+ $ items [] = $ this ->populateResultAttributeMap ($ item );
198195 }
199196
200197 return $ items ;
Original file line number Diff line number Diff line change @@ -182,10 +182,7 @@ private function populateResultItemList(array $json): array
182182 {
183183 $ items = [];
184184 foreach ($ json as $ item ) {
185- $ a = empty ($ item ) ? [] : $ this ->populateResultAttributeMap ($ item );
186- if (null !== $ a ) {
187- $ items [] = $ a ;
188- }
185+ $ items [] = $ this ->populateResultAttributeMap ($ item );
189186 }
190187
191188 return $ items ;
Original file line number Diff line number Diff line change @@ -182,10 +182,7 @@ private function populateResultItemList(array $json): array
182182 {
183183 $ items = [];
184184 foreach ($ json as $ item ) {
185- $ a = empty ($ item ) ? [] : $ this ->populateResultAttributeMap ($ item );
186- if (null !== $ a ) {
187- $ items [] = $ a ;
188- }
185+ $ items [] = $ this ->populateResultAttributeMap ($ item );
189186 }
190187
191188 return $ items ;
You can’t perform that action at this time.
0 commit comments