Completed
Push — master ( c05784...e50bf7 )
by claudio
04:02
created
app/Group.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
      *
38 38
      * @var array
39 39
      */
40
-    protected $fillable = ['name', 'description', 'planner_id'];
40
+    protected $fillable = [ 'name', 'description', 'planner_id' ];
41 41
 
42 42
     /**
43 43
      * @var array
@@ -47,11 +47,11 @@  discard block
 block discarded – undo
47 47
     /**
48 48
      * @var array
49 49
      */
50
-    protected $appends = ['planner_name'];
50
+    protected $appends = [ 'planner_name' ];
51 51
 
52 52
     public function getPlannerNameAttribute()
53 53
     {
54
-        if(is_object($this->planner) && $this->planner->exists)
54
+        if (is_object($this->planner) && $this->planner->exists)
55 55
             return $this->planner->name;
56 56
     }
57 57
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,9 @@
 block discarded – undo
51 51
 
52 52
     public function getPlannerNameAttribute()
53 53
     {
54
-        if(is_object($this->planner) && $this->planner->exists)
55
-            return $this->planner->name;
54
+        if(is_object($this->planner) && $this->planner->exists) {
55
+                    return $this->planner->name;
56
+        }
56 57
     }
57 58
 
58 59
     /**
Please login to merge, or discard this patch.