@@ -52,8 +52,8 @@ discard block |
||
| 52 | 52 | protected function mapWebRoutes() |
| 53 | 53 | { |
| 54 | 54 | Route::middleware('web') |
| 55 | - ->namespace($this->namespace) |
|
| 56 | - ->group(base_path('routes/web.php')); |
|
| 55 | + ->namespace($this->namespace) |
|
| 56 | + ->group(base_path('routes/web.php')); |
|
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
@@ -66,8 +66,8 @@ discard block |
||
| 66 | 66 | protected function mapApiRoutes() |
| 67 | 67 | { |
| 68 | 68 | Route::prefix('api') |
| 69 | - ->middleware('api') |
|
| 70 | - ->namespace($this->namespace) |
|
| 71 | - ->group(base_path('routes/api.php')); |
|
| 69 | + ->middleware('api') |
|
| 70 | + ->namespace($this->namespace) |
|
| 71 | + ->group(base_path('routes/api.php')); |
|
| 72 | 72 | } |
| 73 | 73 | } |
@@ -35,7 +35,7 @@ |
||
| 35 | 35 | */ |
| 36 | 36 | protected function commands() |
| 37 | 37 | { |
| 38 | - $this->load(__DIR__.'/Commands'); |
|
| 38 | + $this->load(__DIR__ . '/Commands'); |
|
| 39 | 39 | |
| 40 | 40 | require base_path('routes/console.php'); |
| 41 | 41 | } |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | $crawler = Goutte::submit($form, $adParameters); |
| 75 | 75 | |
| 76 | 76 | $errors = []; |
| 77 | - $crawler->filter('.fem.fieldwarning')->each(function ($node) use (&$errors) { |
|
| 77 | + $crawler->filter('.fem.fieldwarning')->each(function($node) use (&$errors) { |
|
| 78 | 78 | $errors[] = $node->text(); |
| 79 | 79 | }); |
| 80 | 80 | |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | |
| 88 | 88 | if ($publishedAds) { |
| 89 | 89 | try { |
| 90 | - $publishedAds->each(function ($platform) use ($ad) { |
|
| 90 | + $publishedAds->each(function($platform) use ($ad) { |
|
| 91 | 91 | $platformHelper = $this->getHelperClassFromPlatform($platform); |
| 92 | 92 | $platformHelper->unpublish($ad, $platform); |
| 93 | 93 | $ad->platforms()->detach($platform->id); |