@@ -95,9 +95,9 @@ discard block |
||
| 95 | 95 | $bar->finish(); |
| 96 | 96 | |
| 97 | 97 | $errors = $this->getErrors($responses); |
| 98 | - if($errors) { |
|
| 98 | + if ($errors) { |
|
| 99 | 99 | $this->info("\n"); |
| 100 | - foreach($errors as $error) { |
|
| 100 | + foreach ($errors as $error) { |
|
| 101 | 101 | $this->error($error); |
| 102 | 102 | } |
| 103 | 103 | } |
@@ -140,14 +140,14 @@ discard block |
||
| 140 | 140 | protected function getErrors($responses) |
| 141 | 141 | { |
| 142 | 142 | $errors = []; |
| 143 | - foreach($responses as $type => $response) { |
|
| 143 | + foreach ($responses as $type => $response) { |
|
| 144 | 144 | |
| 145 | 145 | $items = array_get($response, 'items', []); |
| 146 | - foreach($items as $item) { |
|
| 146 | + foreach ($items as $item) { |
|
| 147 | 147 | |
| 148 | 148 | $item = array_first($item); |
| 149 | 149 | |
| 150 | - if(!array_has($item, 'error')) { |
|
| 150 | + if (!array_has($item, 'error')) { |
|
| 151 | 151 | continue; |
| 152 | 152 | } |
| 153 | 153 | |