Completed
Push — master ( a91b57...4fcfbd )
by Jan
06:59
created
app/Usergroup.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -33,14 +33,14 @@  discard block
 block discarded – undo
33 33
      *
34 34
      * @var array
35 35
      */
36
-    protected $dates = ['created_at', 'updated_at', 'deleted_at'];
36
+    protected $dates = [ 'created_at', 'updated_at', 'deleted_at' ];
37 37
     
38 38
     /**
39 39
      * The attributes that are mass assignable.
40 40
      *
41 41
      * @var array
42 42
      */
43
-    protected $fillable = ['name'];
43
+    protected $fillable = [ 'name' ];
44 44
 
45 45
     /**
46 46
      * Fields to search in fulltext mode
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      * 
71 71
      * @return object
72 72
      */
73
-    public function users(){
73
+    public function users() {
74 74
         
75 75
         return $this->hasMany('App\User', 'usergroup_id');
76 76
     }
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      * @param query $query
82 82
      * @return query
83 83
      */
84
-    public function scopeRelationships($query){
84
+    public function scopeRelationships($query) {
85 85
         
86 86
         return $query->with('users');
87 87
     }
Please login to merge, or discard this patch.