@@ -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 | */ |
@@ -7,8 +7,7 @@ |
||
7 | 7 | use Illuminate\Contracts\Auth\MustVerifyEmail; |
8 | 8 | use Illuminate\Foundation\Auth\User as Authenticatable; |
9 | 9 | |
10 | -class Admin extends Authenticatable |
|
11 | -{ |
|
10 | +class Admin extends Authenticatable { |
|
12 | 11 | use Notifiable; |
13 | 12 | |
14 | 13 | protected $guard = 'admin'; |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Illuminate\Console\Scheduling\Schedule; |
6 | 6 | use Illuminate\Foundation\Console\Kernel as ConsoleKernel; |
7 | 7 | |
8 | -class Kernel extends ConsoleKernel |
|
9 | -{ |
|
8 | +class Kernel extends ConsoleKernel { |
|
10 | 9 | /** |
11 | 10 | * The Artisan commands provided by your application. |
12 | 11 | * |
@@ -4,8 +4,7 @@ discard block |
||
4 | 4 | |
5 | 5 | use Illuminate\Database\Eloquent\Model; |
6 | 6 | |
7 | -class DoctorDetail extends Model |
|
8 | -{ |
|
7 | +class DoctorDetail extends Model { |
|
9 | 8 | /** |
10 | 9 | * @var string |
11 | 10 | */ |
@@ -27,14 +26,16 @@ discard block |
||
27 | 26 | /** |
28 | 27 | * @return \Illuminate\Database\Eloquent\Relations\HasMany |
29 | 28 | */ |
30 | - public function doctor() { |
|
29 | + public function doctor() |
|
30 | + { |
|
31 | 31 | return $this->hasMany('App\Doctor', ''); |
32 | 32 | } |
33 | 33 | |
34 | 34 | /** |
35 | 35 | * @return \Illuminate\Database\Eloquent\Relations\HasMany |
36 | 36 | */ |
37 | - public function hospital() { |
|
37 | + public function hospital() |
|
38 | + { |
|
38 | 39 | return $this->hasMany('App\Hospital', 'specialization_id'); |
39 | 40 | } |
40 | 41 |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode as Middleware; |
6 | 6 | |
7 | -class CheckForMaintenanceMode extends Middleware |
|
8 | -{ |
|
7 | +class CheckForMaintenanceMode extends Middleware { |
|
9 | 8 | /** |
10 | 9 | * The URIs that should be reachable while maintenance mode is enabled. |
11 | 10 | * |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Illuminate\Http\Request; |
6 | 6 | use Fideloper\Proxy\TrustProxies as Middleware; |
7 | 7 | |
8 | -class TrustProxies extends Middleware |
|
9 | -{ |
|
8 | +class TrustProxies extends Middleware { |
|
10 | 9 | /** |
11 | 10 | * The trusted proxies for this application. |
12 | 11 | * |