@@ -77,7 +77,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |