Passed
Push — master ( 2b8d14...6f5c26 )
by Innocent
03:47
created
src/Models/Ministry.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
     use CreatableTrait;
26 26
 
27 27
     protected $table = 'fg_ministries';
28
-    protected $guarded = ['id'];
28
+    protected $guarded = [ 'id' ];
29 29
     public $incrementing = false;
30 30
     protected $hidden = [
31 31
         'password',
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
     public function getJWTCustomClaims()
42 42
     {
43
-        return [];
43
+        return [ ];
44 44
     }
45 45
 
46 46
     /**
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
             return $phones;
107 107
         } else {
108
-            return [$this->phone];
108
+            return [ $this->phone ];
109 109
         }
110 110
     }
111 111
 
@@ -117,7 +117,7 @@  discard block
 block discarded – undo
117 117
 
118 118
             return $emails;
119 119
         } else {
120
-            return [$this->email];
120
+            return [ $this->email ];
121 121
         }
122 122
     }
123 123
 
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     public function getUsersAttribute()
143 143
     {
144 144
         return $this->ministryUsers()
145
-            ->map(fn ($minUser) => $minUser->user)
145
+            ->map(fn($minUser) => $minUser->user)
146 146
             ->flatten();
147 147
     }
148 148
 }
Please login to merge, or discard this patch.