Completed
Push — develop ( 2a5993...441247 )
by Evan
02:20
created
src/Type/Model.php 2 patches
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -36,10 +36,10 @@  discard block
 block discarded – undo
36 36
     const ID_PROPERTY = '';
37 37
 
38 38
     /**
39
-    * Get a new query builder for the model.
40
-    *
41
-    * @return \Silk\Contracts\BuildsQueries
42
-    */
39
+     * Get a new query builder for the model.
40
+     *
41
+     * @return \Silk\Contracts\BuildsQueries
42
+     */
43 43
     abstract public function newQuery();
44 44
 
45 45
     /**
@@ -91,9 +91,9 @@  discard block
 block discarded – undo
91 91
         $model = new static;
92 92
 
93 93
         Collection::make($attributes)
94
-                  ->each(function ($value, $key) use ($model) {
95
-                      $model->$key = $value;
96
-                  })
94
+                    ->each(function ($value, $key) use ($model) {
95
+                        $model->$key = $value;
96
+                    })
97 97
         ;
98 98
 
99 99
         return $model->save();
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
         $model = new static;
92 92
 
93 93
         Collection::make($attributes)
94
-                  ->each(function ($value, $key) use ($model) {
94
+                  ->each(function($value, $key) use ($model) {
95 95
                       $model->$key = $value;
96 96
                   })
97 97
         ;
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
215 215
      */
216 216
     public function __isset($property)
217 217
     {
218
-        return ! is_null($this->__get($property));
218
+        return !is_null($this->__get($property));
219 219
     }
220 220
 
221 221
     /**
Please login to merge, or discard this patch.