@@ -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') |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; |
6 | 6 | use Illuminate\Support\Facades\Route; |
7 | 7 | |
8 | -class RouteServiceProvider extends ServiceProvider |
|
9 | -{ |
|
8 | +class RouteServiceProvider extends ServiceProvider { |
|
10 | 9 | /** |
11 | 10 | * This namespace is applied to your controller routes. |
12 | 11 | * |
@@ -109,7 +109,7 @@ |
||
109 | 109 | | |
110 | 110 | */ |
111 | 111 | |
112 | - 'lottery' => [2, 100], |
|
112 | + 'lottery' => [ 2, 100 ], |
|
113 | 113 | |
114 | 114 | /* |
115 | 115 | |-------------------------------------------------------------------------- |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | |
32 | 32 | 'lifetime' => 120, |
33 | 33 | |
34 | - 'expire_on_close' => false, |
|
34 | + 'expire_on_close' => FALSE, |
|
35 | 35 | |
36 | 36 | /* |
37 | 37 | |-------------------------------------------------------------------------- |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | | |
45 | 45 | */ |
46 | 46 | |
47 | - 'encrypt' => false, |
|
47 | + 'encrypt' => FALSE, |
|
48 | 48 | |
49 | 49 | /* |
50 | 50 | |-------------------------------------------------------------------------- |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | | |
71 | 71 | */ |
72 | 72 | |
73 | - 'connection' => null, |
|
73 | + 'connection' => NULL, |
|
74 | 74 | |
75 | 75 | /* |
76 | 76 | |-------------------------------------------------------------------------- |
@@ -96,7 +96,7 @@ discard block |
||
96 | 96 | | |
97 | 97 | */ |
98 | 98 | |
99 | - 'store' => null, |
|
99 | + 'store' => NULL, |
|
100 | 100 | |
101 | 101 | /* |
102 | 102 | |-------------------------------------------------------------------------- |
@@ -148,7 +148,7 @@ discard block |
||
148 | 148 | | |
149 | 149 | */ |
150 | 150 | |
151 | - 'domain' => env('SESSION_DOMAIN', null), |
|
151 | + 'domain' => env('SESSION_DOMAIN', NULL), |
|
152 | 152 | |
153 | 153 | /* |
154 | 154 | |-------------------------------------------------------------------------- |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | | |
162 | 162 | */ |
163 | 163 | |
164 | - 'secure' => env('SESSION_SECURE_COOKIE', false), |
|
164 | + 'secure' => env('SESSION_SECURE_COOKIE', FALSE), |
|
165 | 165 | |
166 | 166 | /* |
167 | 167 | |-------------------------------------------------------------------------- |
@@ -174,6 +174,6 @@ discard block |
||
174 | 174 | | |
175 | 175 | */ |
176 | 176 | |
177 | - 'http_only' => true, |
|
177 | + 'http_only' => TRUE, |
|
178 | 178 | |
179 | 179 | ]; |
@@ -116,6 +116,6 @@ |
||
116 | 116 | | |
117 | 117 | */ |
118 | 118 | |
119 | - 'attributes' => [], |
|
119 | + 'attributes' => [ ], |
|
120 | 120 | |
121 | 121 | ]; |
@@ -6,7 +6,7 @@ |
||
6 | 6 | * @author Taylor Otwell <[email protected]> |
7 | 7 | */ |
8 | 8 | $uri = urldecode( |
9 | - parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) |
|
9 | + parse_url($_SERVER[ 'REQUEST_URI' ], PHP_URL_PATH) |
|
10 | 10 | ); |
11 | 11 | |
12 | 12 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the |
@@ -13,7 +13,7 @@ |
||
13 | 13 | // built-in PHP web server. This provides a convenient way to test a Laravel |
14 | 14 | // application without having installed a "real" web server software here. |
15 | 15 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { |
16 | - return false; |
|
16 | + return FALSE; |
|
17 | 17 | } |
18 | 18 | |
19 | 19 | require_once __DIR__.'/public/index.php'; |
@@ -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 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Support\ServiceProvider; |
6 | 6 | |
7 | -class AppServiceProvider extends ServiceProvider |
|
8 | -{ |
|
7 | +class AppServiceProvider extends ServiceProvider { |
|
9 | 8 | /** |
10 | 9 | * Bootstrap any application services. |
11 | 10 | * |
@@ -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 |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Illuminate\Support\Facades\Broadcast; |
6 | 6 | use Illuminate\Support\ServiceProvider; |
7 | 7 | |
8 | -class BroadcastServiceProvider extends ServiceProvider |
|
9 | -{ |
|
8 | +class BroadcastServiceProvider extends ServiceProvider { |
|
10 | 9 | /** |
11 | 10 | * Bootstrap any application services. |
12 | 11 | * |
@@ -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 |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; |
6 | 6 | use Illuminate\Support\Facades\Event; |
7 | 7 | |
8 | -class EventServiceProvider extends ServiceProvider |
|
9 | -{ |
|
8 | +class EventServiceProvider extends ServiceProvider { |
|
10 | 9 | /** |
11 | 10 | * The event listener mappings for the application. |
12 | 11 | * |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * |
21 | 21 | * @return void |
22 | 22 | */ |
23 | - public function boot() |
|
23 | + public function boot () |
|
24 | 24 | { |
25 | 25 | $this->registerPolicies(); |
26 | 26 |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; |
6 | 6 | |
7 | -class AuthServiceProvider extends ServiceProvider |
|
8 | -{ |
|
7 | +class AuthServiceProvider extends ServiceProvider { |
|
9 | 8 | /** |
10 | 9 | * The policy mappings for the application. |
11 | 10 | * |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Illuminate\Foundation\Auth\User as Authenticatable; |
6 | 6 | use Illuminate\Notifications\Notifiable; |
7 | 7 | |
8 | -class User extends Authenticatable |
|
9 | -{ |
|
8 | +class User extends Authenticatable { |
|
10 | 9 | use Notifiable; |
11 | 10 | |
12 | 11 | /** |