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
191
191
{
192
192
$ items = [];
193
193
foreach ($ json as $ item ) {
194
- $ a = empty ($ item ) ? [] : $ this ->populateResultAttributeMap ($ item );
195
- if (null !== $ a ) {
196
- $ items [] = $ a ;
197
- }
194
+ $ items [] = $ this ->populateResultAttributeMap ($ item );
198
195
}
199
196
200
197
return $ items ;
Original file line number Diff line number Diff line change @@ -182,10 +182,7 @@ private function populateResultItemList(array $json): array
182
182
{
183
183
$ items = [];
184
184
foreach ($ json as $ item ) {
185
- $ a = empty ($ item ) ? [] : $ this ->populateResultAttributeMap ($ item );
186
- if (null !== $ a ) {
187
- $ items [] = $ a ;
188
- }
185
+ $ items [] = $ this ->populateResultAttributeMap ($ item );
189
186
}
190
187
191
188
return $ items ;
Original file line number Diff line number Diff line change @@ -182,10 +182,7 @@ private function populateResultItemList(array $json): array
182
182
{
183
183
$ items = [];
184
184
foreach ($ json as $ item ) {
185
- $ a = empty ($ item ) ? [] : $ this ->populateResultAttributeMap ($ item );
186
- if (null !== $ a ) {
187
- $ items [] = $ a ;
188
- }
185
+ $ items [] = $ this ->populateResultAttributeMap ($ item );
189
186
}
190
187
191
188
return $ items ;
You can’t perform that action at this time.
0 commit comments