@@ -12,12 +12,12 @@ |
||
12 | 12 | return $this->rows; |
13 | 13 | } |
14 | 14 | |
15 | - public static function all($columns = []) |
|
15 | + public static function all($columns = [ ]) |
|
16 | 16 | { |
17 | 17 | self::unguard(); |
18 | 18 | $self = new self(); |
19 | 19 | |
20 | - return Collection::make($self->getRows() ?? [])->map(function ($row) { return new self($row); }); |
|
20 | + return Collection::make($self->getRows() ?? [ ])->map(function($row) { return new self($row); }); |
|
21 | 21 | } |
22 | 22 | |
23 | 23 | public function __call($method, $parameters) |