Passed
Push — master ( 7cab02...0d1180 )
by Faiq
04:11
created
app/City.php 1 patch
Braces   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@  discard block
 block discarded – undo
4 4
 
5 5
 use Illuminate\Database\Eloquent\Model;
6 6
 
7
-class City extends Model
8
-{
7
+class City extends Model {
9 8
     /**
10 9
      * @var string
11 10
      */
@@ -32,7 +31,8 @@  discard block
 block discarded – undo
32 31
     /**
33 32
      * @return \Illuminate\Database\Eloquent\Relations\HasMany
34 33
      */
35
-    public function hospital(){
34
+    public function hospital()
35
+    {
36 36
         return $this->hasMany('App\Hospital');
37 37
     }
38 38
 }
Please login to merge, or discard this patch.
app/Hospital.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@  discard block
 block discarded – undo
4 4
 
5 5
 use Illuminate\Database\Eloquent\Model;
6 6
 
7
-class Hospital extends Model
8
-{
7
+class Hospital extends Model {
9 8
     /**
10 9
      * @var string
11 10
      */
@@ -32,7 +31,8 @@  discard block
 block discarded – undo
32 31
     /**
33 32
      * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
34 33
      */
35
-    public function city() {
34
+    public function city()
35
+    {
36 36
         return $this->belongsTo('App\City','city_id');
37 37
     }
38 38
 
@@ -40,7 +40,8 @@  discard block
 block discarded – undo
40 40
      * @param $str
41 41
      * @return string
42 42
      */
43
-    public function trimStr($str) {
43
+    public function trimStr($str)
44
+    {
44 45
         if(strlen($str) > 10) {
45 46
             return substr($str, 0, 10)."...";
46 47
         }
Please login to merge, or discard this patch.
app/Admin.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -7,8 +7,7 @@
 block discarded – undo
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';
Please login to merge, or discard this patch.
app/Console/Kernel.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
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
      *
Please login to merge, or discard this patch.
app/DoctorDetail.php 1 patch
Braces   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
app/Http/Middleware/CheckForMaintenanceMode.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
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
      *
Please login to merge, or discard this patch.
app/Http/Middleware/TrustProxies.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -5,8 +5,7 @@
 block discarded – undo
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
      *
Please login to merge, or discard this patch.
app/Http/Middleware/EncryptCookies.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
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
      *
Please login to merge, or discard this patch.
app/Http/Middleware/VerifyCsrfToken.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,7 @@
 block discarded – undo
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
      *
Please login to merge, or discard this patch.