@@ -30,7 +30,7 @@ |
||
30 | 30 | break; |
31 | 31 | default: |
32 | 32 | if (Auth::guard($guard)->check()) { |
33 | - return redirect()->route('home'); |
|
33 | + return redirect()->route('home'); |
|
34 | 34 | } |
35 | 35 | } |
36 | 36 |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Closure; |
6 | 6 | use Illuminate\Support\Facades\Auth; |
7 | 7 | |
8 | -class RedirectIfAuthenticated |
|
9 | -{ |
|
8 | +class RedirectIfAuthenticated { |
|
10 | 9 | /** |
11 | 10 | * Handle an incoming request. |
12 | 11 | * |
@@ -59,7 +59,7 @@ |
||
59 | 59 | private function sendFailedLoginResponse(Request $request) |
60 | 60 | { |
61 | 61 | throw ValidationException::withMessages([ |
62 | - 'email' => [trans('auth.failed')], |
|
62 | + 'email' => [trans('auth.failed')], |
|
63 | 63 | ]); |
64 | 64 | } |
65 | 65 | } |
@@ -8,8 +8,7 @@ |
||
8 | 8 | use Illuminate\Support\Facades\Validator; |
9 | 9 | use Illuminate\Validation\ValidationException; |
10 | 10 | |
11 | -class DoctorLoginController extends Controller |
|
12 | -{ |
|
11 | +class DoctorLoginController extends Controller { |
|
13 | 12 | |
14 | 13 | public function __construct() |
15 | 14 | { |
@@ -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 | } |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Illuminate\Support\Facades\Route; |
6 | 6 | use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; |
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 | * |
@@ -6,8 +6,7 @@ |
||
6 | 6 | use Illuminate\Auth\AuthenticationException; |
7 | 7 | use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; |
8 | 8 | |
9 | -class Handler extends ExceptionHandler |
|
10 | -{ |
|
9 | +class Handler extends ExceptionHandler { |
|
11 | 10 | /** |
12 | 11 | * A list of the exception types that are not reported. |
13 | 12 | * |
@@ -7,8 +7,7 @@ |
||
7 | 7 | use Illuminate\Auth\Listeners\SendEmailVerificationNotification; |
8 | 8 | use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; |
9 | 9 | |
10 | -class EventServiceProvider extends ServiceProvider |
|
11 | -{ |
|
10 | +class EventServiceProvider extends ServiceProvider { |
|
12 | 11 | /** |
13 | 12 | * The event listener mappings for the application. |
14 | 13 | * |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Illuminate\Support\ServiceProvider; |
6 | 6 | use Illuminate\Support\Facades\Broadcast; |
7 | 7 | |
8 | -class BroadcastServiceProvider extends ServiceProvider |
|
9 | -{ |
|
8 | +class BroadcastServiceProvider extends ServiceProvider { |
|
10 | 9 | /** |
11 | 10 | * Bootstrap any application services. |
12 | 11 | * |
@@ -6,8 +6,7 @@ |
||
6 | 6 | use Illuminate\Support\ServiceProvider; |
7 | 7 | use Illuminate\Support\Facades\Schema; |
8 | 8 | |
9 | -class AppServiceProvider extends ServiceProvider |
|
10 | -{ |
|
9 | +class AppServiceProvider extends ServiceProvider { |
|
11 | 10 | /** |
12 | 11 | * Register any application services. |
13 | 12 | * |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Illuminate\Support\Facades\Gate; |
6 | 6 | use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; |
7 | 7 | |
8 | -class AuthServiceProvider extends ServiceProvider |
|
9 | -{ |
|
8 | +class AuthServiceProvider extends ServiceProvider { |
|
10 | 9 | /** |
11 | 10 | * The policy mappings for the application. |
12 | 11 | * |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Database\Eloquent\Model; |
6 | 6 | |
7 | -class Room extends Model |
|
8 | -{ |
|
7 | +class Room extends Model { |
|
9 | 8 | /** |
10 | 9 | * @var string |
11 | 10 | */ |