@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Packagist Mirror. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Packagist Mirror. |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Packagist Mirror. |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | * |
172 | 172 | * @return bool True if work, false otherside |
173 | 173 | */ |
174 | - protected function switch():Create |
|
174 | + protected function switch ():Create |
|
175 | 175 | { |
176 | 176 | // If .packages.json dont exists |
177 | 177 | if (!$this->filesystem->has(self::DOT)) { |
@@ -200,7 +200,7 @@ discard block |
||
200 | 200 | |
201 | 201 | $this->progressBar->start(count($this->providerIncludes)); |
202 | 202 | |
203 | - $success = function ($body, $path) { |
|
203 | + $success = function($body, $path) { |
|
204 | 204 | $this->filesystem->write($path, $body); |
205 | 205 | }; |
206 | 206 | |
@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | */ |
223 | 223 | protected function getClosureComplete():Closure |
224 | 224 | { |
225 | - return function () { |
|
225 | + return function() { |
|
226 | 226 | $this->progressBar->progress(); |
227 | 227 | }; |
228 | 228 | } |
@@ -428,7 +428,7 @@ discard block |
||
428 | 428 | $this->http->pool( |
429 | 429 | $generator, |
430 | 430 | // Success |
431 | - function ($body, $path) { |
|
431 | + function($body, $path) { |
|
432 | 432 | $this->filesystem->write($path, $body); |
433 | 433 | $this->package->setDownloaded($path); |
434 | 434 | }, |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Packagist Mirror. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Packagist Mirror. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Packagist Mirror. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Packagist Mirror. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Packagist Mirror. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Packagist Mirror. |