@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Cart\CountOperation; |
| 5 | 5 | |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | |
| 4 | 4 | namespace Cart\ServiceProviders; |
| 5 | 5 | |
@@ -15,7 +15,7 @@ discard block |
||
| 15 | 15 | */ |
| 16 | 16 | public function register() |
| 17 | 17 | { |
| 18 | - $this->app->bind('cart', function () { |
|
| 18 | + $this->app->bind('cart', function() { |
|
| 19 | 19 | $kernel = new Kernel(); |
| 20 | 20 | $kernel->bootstrapping(); |
| 21 | 21 | return $kernel->getStorage(); |
@@ -1,5 +1,5 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types=1); |
|
| 2 | +declare(strict_types = 1); |
|
| 3 | 3 | namespace Cart\Commands; |
| 4 | 4 | |
| 5 | 5 | use Carbon\Carbon; |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | protected function moveMigrate(ProgressBar $progress) |
| 52 | 52 | { |
| 53 | - $pathToMigrationsLaravel = $_SERVER["PWD"] . '/database/migrations/'; |
|
| 53 | + $pathToMigrationsLaravel = $_SERVER["PWD"] . '/database/migrations/'; |
|
| 54 | 54 | $pathToStubs = __DIR__ . '/../../migrations/stubs/'; |
| 55 | 55 | |
| 56 | 56 | $this->createDir($pathToMigrationsLaravel); |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | protected function moveConfig(ProgressBar $progress) : void |
| 66 | 66 | { |
| 67 | 67 | $pathToConfig = __DIR__ . '/../../config/app.php'; |
| 68 | - $pathToConfigsLaravel = $_SERVER["PWD"] . '/config/'; |
|
| 68 | + $pathToConfigsLaravel = $_SERVER["PWD"] . '/config/'; |
|
| 69 | 69 | $this->createDir($pathToConfigsLaravel); |
| 70 | 70 | |
| 71 | 71 | copy($pathToConfig, $pathToConfigsLaravel . 'cart.php'); |