@@ -58,9 +58,9 @@ |
||
| 58 | 58 | { |
| 59 | 59 | $this->request = $request; |
| 60 | 60 | $this->state = static::PENDING; |
| 61 | - $this->promise = $promise->then(function ($response) { |
|
| 61 | + $this->promise = $promise->then(function($response) { |
|
| 62 | 62 | return $this->handleResponse($response); |
| 63 | - }, function ($reason) use ($request) { |
|
| 63 | + }, function($reason) use ($request) { |
|
| 64 | 64 | $this->exception = $this->handleRejectCallback($reason, $request); |
| 65 | 65 | |
| 66 | 66 | throw $this->exception; |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | die("File not found: $inputFile"); |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | -$data = array_map(function ($line) { |
|
| 22 | +$data = array_map(function($line) { |
|
| 23 | 23 | return str_getcsv($line, ';'); // Use ";" as the delimiter |
| 24 | 24 | }, file($inputFile)); |
| 25 | 25 | |