Passed
Push — feature/frw-9231/master-import... ( d03e86 )
by Dmitry
12:08
created
Service/AkeneoPim/Dependencies/External/Api/Adapter/HttpClient/Promise.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,9 +58,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
import/import.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.