Completed
Push — master ( be29a9...b588b4 )
by Laurent
84:24 queued 32:44
created
src/Adapter/ChronopostFtpAdapter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      *
78 78
      * @var int
79 79
      */
80
-    protected $depth = 168;// 1 week
80
+    protected $depth = 168; // 1 week
81 81
 
82 82
     /**
83 83
      * ChronopostFtpAdapter constructor.
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         $try = 0;
132 132
         while ($try < $this->depth && !isset($this->events[$trackingNumber])) {
133 133
             $this->retrieveOneMoreFile();
134
-            $try ++;
134
+            $try++;
135 135
         }
136 136
 
137 137
         if ($try >= $this->depth && !isset($this->events[$trackingNumber])) {
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
167 167
         $try = 0;
168 168
         while ($try < $this->depth && !isset($this->eventsByInternalNumber[$reference])) {
169 169
             $this->retrieveOneMoreFile();
170
-            $try ++;
170
+            $try++;
171 171
         }
172 172
 
173 173
         if ($try >= $this->depth && !isset($this->eventsByInternalNumber[$reference])) {
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
         }
232 232
         $chronopostFiles = $filteredFiles;
233 233
 
234
-        usort($chronopostFiles, function ($fileA, $fileB) {
234
+        usort($chronopostFiles, function($fileA, $fileB) {
235 235
             return ($fileA['date'] > $fileB['date']) ? -1 : 1;
236 236
         });
237 237
 
Please login to merge, or discard this patch.