@@ -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 | } |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | * |
| 22 | 22 | * @return void |
| 23 | 23 | */ |
| 24 | - public function boot() |
|
| 24 | + public function boot () |
|
| 25 | 25 | { |
| 26 | 26 | // |
| 27 | 27 | |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | * |
| 34 | 34 | * @return void |
| 35 | 35 | */ |
| 36 | - public function map() |
|
| 36 | + public function map () |
|
| 37 | 37 | { |
| 38 | 38 | $this->mapApiRoutes(); |
| 39 | 39 | |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * |
| 50 | 50 | * @return void |
| 51 | 51 | */ |
| 52 | - protected function mapWebRoutes() |
|
| 52 | + protected function mapWebRoutes () |
|
| 53 | 53 | { |
| 54 | 54 | Route::middleware('web') |
| 55 | 55 | ->namespace($this->namespace) |
@@ -63,7 +63,7 @@ discard block |
||
| 63 | 63 | * |
| 64 | 64 | * @return void |
| 65 | 65 | */ |
| 66 | - protected function mapApiRoutes() |
|
| 66 | + protected function mapApiRoutes () |
|
| 67 | 67 | { |
| 68 | 68 | Route::prefix('api') |
| 69 | 69 | ->middleware('api') |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | * |
| 21 | 21 | * @param ContactMessage $contactMessage |
| 22 | 22 | */ |
| 23 | - public function __construct(ContactMessage $contactMessage) |
|
| 23 | + public function __construct (ContactMessage $contactMessage) |
|
| 24 | 24 | { |
| 25 | 25 | $this->contactMessage = $contactMessage; |
| 26 | 26 | } |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | * |
| 31 | 31 | * @return $this |
| 32 | 32 | */ |
| 33 | - public function build() |
|
| 33 | + public function build () |
|
| 34 | 34 | { |
| 35 | 35 | return $this |
| 36 | 36 | ->from($this->contactMessage->email, $this->contactMessage->name) |
@@ -19,7 +19,7 @@ discard block |
||
| 19 | 19 | * |
| 20 | 20 | * @return void |
| 21 | 21 | */ |
| 22 | - public function __construct(Spot $spotSubmitted) |
|
| 22 | + public function __construct (Spot $spotSubmitted) |
|
| 23 | 23 | { |
| 24 | 24 | $this->spotSubmitted = $spotSubmitted; |
| 25 | 25 | } |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | * |
| 30 | 30 | * @return $this |
| 31 | 31 | */ |
| 32 | - public function build() |
|
| 32 | + public function build () |
|
| 33 | 33 | { |
| 34 | 34 | return $this |
| 35 | 35 | ->from('[email protected]', 'No Reply') |
@@ -6,12 +6,12 @@ |
||
| 6 | 6 | |
| 7 | 7 | class Country extends Model |
| 8 | 8 | { |
| 9 | - public function spots() |
|
| 9 | + public function spots () |
|
| 10 | 10 | { |
| 11 | 11 | return $this->hasMany(Spot::class); |
| 12 | 12 | } |
| 13 | 13 | |
| 14 | - public function getRouteKeyName() |
|
| 14 | + public function getRouteKeyName () |
|
| 15 | 15 | { |
| 16 | 16 | return 'slug_pt'; |
| 17 | 17 | } |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | * @param \Illuminate\Console\Scheduling\Schedule $schedule |
| 23 | 23 | * @return void |
| 24 | 24 | */ |
| 25 | - protected function schedule(Schedule $schedule) |
|
| 25 | + protected function schedule (Schedule $schedule) |
|
| 26 | 26 | { |
| 27 | 27 | // $schedule->command('inspire') |
| 28 | 28 | // ->hourly(); |
@@ -33,9 +33,9 @@ discard block |
||
| 33 | 33 | * |
| 34 | 34 | * @return void |
| 35 | 35 | */ |
| 36 | - protected function commands() |
|
| 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 | } |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | * |
| 13 | 13 | * @return void |
| 14 | 14 | */ |
| 15 | - public function boot() |
|
| 15 | + public function boot () |
|
| 16 | 16 | { |
| 17 | 17 | Broadcast::routes(); |
| 18 | 18 | |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | * |
| 22 | 22 | * @return void |
| 23 | 23 | */ |
| 24 | - public function boot() |
|
| 24 | + public function boot () |
|
| 25 | 25 | { |
| 26 | 26 | $this->registerPolicies(); |
| 27 | 27 | |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | * |
| 24 | 24 | * @return void |
| 25 | 25 | */ |
| 26 | - public function boot() |
|
| 26 | + public function boot () |
|
| 27 | 27 | { |
| 28 | 28 | parent::boot(); |
| 29 | 29 | |
@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | * |
| 12 | 12 | * @return void |
| 13 | 13 | */ |
| 14 | - public function boot() |
|
| 14 | + public function boot () |
|
| 15 | 15 | { |
| 16 | 16 | // |
| 17 | 17 | } |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | * |
| 22 | 22 | * @return void |
| 23 | 23 | */ |
| 24 | - public function register() |
|
| 24 | + public function register () |
|
| 25 | 25 | { |
| 26 | 26 | // |
| 27 | 27 | } |