@@ -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 | * |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Cookie\Middleware\EncryptCookies as Middleware; |
6 | 6 | |
7 | -class EncryptCookies extends Middleware |
|
8 | -{ |
|
7 | +class EncryptCookies extends Middleware { |
|
9 | 8 | /** |
10 | 9 | * The names of the cookies that should not be encrypted. |
11 | 10 | * |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware; |
6 | 6 | |
7 | -class VerifyCsrfToken extends Middleware |
|
8 | -{ |
|
7 | +class VerifyCsrfToken extends Middleware { |
|
9 | 8 | /** |
10 | 9 | * Indicates whether the XSRF-TOKEN cookie should be set on the response. |
11 | 10 | * |
@@ -4,8 +4,7 @@ |
||
4 | 4 | |
5 | 5 | use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware; |
6 | 6 | |
7 | -class TrimStrings extends Middleware |
|
8 | -{ |
|
7 | +class TrimStrings extends Middleware { |
|
9 | 8 | /** |
10 | 9 | * The names of the attributes that should not be trimmed. |
11 | 10 | * |