@@ -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 | } |
@@ -14,9 +14,9 @@ |
||
14 | 14 | */ |
15 | 15 | public function boot() |
16 | 16 | { |
17 | - // Set the default string length for Laravel5.4 |
|
18 | - // https://laravel-news.com/laravel-5-4-key-too-long-error |
|
19 | - Schema::defaultStringLength(191); |
|
17 | + // Set the default string length for Laravel5.4 |
|
18 | + // https://laravel-news.com/laravel-5-4-key-too-long-error |
|
19 | + Schema::defaultStringLength(191); |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | /** |
@@ -4,23 +4,23 @@ |
||
4 | 4 | * Global helpers file with misc functions. |
5 | 5 | */ |
6 | 6 | if (! function_exists('app_name')) { |
7 | - /** |
|
8 | - * Helper to grab the application name. |
|
9 | - * |
|
10 | - * @return mixed |
|
11 | - */ |
|
12 | - function app_name() |
|
13 | - { |
|
14 | - return config('app.name'); |
|
15 | - } |
|
7 | + /** |
|
8 | + * Helper to grab the application name. |
|
9 | + * |
|
10 | + * @return mixed |
|
11 | + */ |
|
12 | + function app_name() |
|
13 | + { |
|
14 | + return config('app.name'); |
|
15 | + } |
|
16 | 16 | } |
17 | 17 | |
18 | 18 | if (! function_exists('access')) { |
19 | - /** |
|
20 | - * Access (lol) the Access:: facade as a simple function. |
|
21 | - */ |
|
22 | - function access() |
|
23 | - { |
|
24 | - return app('access'); |
|
25 | - } |
|
19 | + /** |
|
20 | + * Access (lol) the Access:: facade as a simple function. |
|
21 | + */ |
|
22 | + function access() |
|
23 | + { |
|
24 | + return app('access'); |
|
25 | + } |
|
26 | 26 | } |
27 | 27 | \ No newline at end of file |
@@ -64,13 +64,13 @@ |
||
64 | 64 | return auth()->loginUsingId($id); |
65 | 65 | } |
66 | 66 | |
67 | - /** |
|
68 | - * Return if the current session user is a logged in |
|
69 | - * |
|
70 | - * @return mixed |
|
71 | - */ |
|
72 | - public function check() |
|
73 | - { |
|
74 | - return auth()->check(); |
|
75 | - } |
|
67 | + /** |
|
68 | + * Return if the current session user is a logged in |
|
69 | + * |
|
70 | + * @return mixed |
|
71 | + */ |
|
72 | + public function check() |
|
73 | + { |
|
74 | + return auth()->check(); |
|
75 | + } |
|
76 | 76 | } |