Passed
Push — master ( ade55e...ecf6d8 )
by bader
02:28
created
src/Traits/Kabsa.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,16 +14,16 @@
 block discarded – undo
14 14
         return $this->rows;
15 15
     }
16 16
 
17
-    public static function all($columns = [])
17
+    public static function all($columns = [ ])
18 18
     {
19
-        if(!empty(static::$kabsaCollection)) {
19
+        if (!empty(static::$kabsaCollection)) {
20 20
             return static::$kabsaCollection;
21 21
         }
22 22
         
23 23
         self::unguard();
24 24
         $self = new self();
25 25
 
26
-        return static::$kabsaCollection = Collection::make($self->getRows() ?? [])->map(function ($row) { return new self($row); });
26
+        return static::$kabsaCollection = Collection::make($self->getRows() ?? [ ])->map(function($row) { return new self($row); });
27 27
     }
28 28
 
29 29
     public function __call($method, $parameters)
Please login to merge, or discard this patch.