Completed
Push — develop ( d77dc3...4e0099 )
by Evan
02:28
created
src/Query/Builder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         $modelClass = get_class($this->model);
55 55
 
56 56
         return Collection::make($this->query())
57
-                         ->map(function ($result) use ($modelClass) {
57
+                         ->map(function($result) use ($modelClass) {
58 58
                              return new $modelClass($result);
59 59
                          });
60 60
     }
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      */
93 93
     public function __get($property)
94 94
     {
95
-        if (in_array($property, ['query','model'])) {
95
+        if (in_array($property, ['query', 'model'])) {
96 96
             return $this->$property;
97 97
         }
98 98
 
Please login to merge, or discard this patch.