@@ -14,16 +14,16 @@ |
||
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) |