@@ -374,7 +374,9 @@ |
||
| 374 | 374 | } |
| 375 | 375 | |
| 376 | 376 | // Save as result |
| 377 | - if(null != $this->parseResponse($item)) $result[] = $this->parseResponse($item)[0]; |
|
| 377 | + if(null != $this->parseResponse($item)) { |
|
| 378 | + $result[] = $this->parseResponse($item)[0]; |
|
| 379 | + } |
|
| 378 | 380 | } |
| 379 | 381 | |
| 380 | 382 | } else { |
@@ -90,8 +90,7 @@ discard block |
||
| 90 | 90 | // Convert array to simple items, save as result |
| 91 | 91 | $result[] = array_slice($raw, $position, $length); |
| 92 | 92 | } |
| 93 | - } |
|
| 94 | - else |
|
| 93 | + } else |
|
| 95 | 94 | { |
| 96 | 95 | $result = [$raw]; |
| 97 | 96 | } |
@@ -191,8 +190,7 @@ discard block |
||
| 191 | 190 | if (null === $offset) |
| 192 | 191 | { |
| 193 | 192 | $this->parsed[] = $value; |
| 194 | - } |
|
| 195 | - else |
|
| 193 | + } else |
|
| 196 | 194 | { |
| 197 | 195 | $this->parsed[$offset] = $value; |
| 198 | 196 | } |