@@ -22,25 +22,25 @@  | 
                                                    ||
| 22 | 22 | return $this->rows;  | 
                                                        
| 23 | 23 | }  | 
                                                        
| 24 | 24 | |
| 25 | - public static function all($columns = [])  | 
                                                        |
| 25 | + public static function all($columns = [ ])  | 
                                                        |
| 26 | 26 |      { | 
                                                        
| 27 | -        if(!empty(static::$kabsaCollection)) { | 
                                                        |
| 27 | +        if (!empty(static::$kabsaCollection)) { | 
                                                        |
| 28 | 28 | return static::$kabsaCollection;  | 
                                                        
| 29 | 29 | }  | 
                                                        
| 30 | 30 | |
| 31 | 31 | return static::$kabsaCollection = Collection::make(  | 
                                                        
| 32 | - (new static)->getRows() ?? [])  | 
                                                        |
| 33 | -            ->map(function ($row) { | 
                                                        |
| 32 | + (new static)->getRows() ?? [ ])  | 
                                                        |
| 33 | +            ->map(function($row) { | 
                                                        |
| 34 | 34 | return new static($row);  | 
                                                        
| 35 | 35 | });  | 
                                                        
| 36 | 36 | }  | 
                                                        
| 37 | 37 | |
| 38 | 38 | public static function addRow($row)  | 
                                                        
| 39 | 39 |      { | 
                                                        
| 40 | -        if(static::$kabsaCollection instanceof Collection) { | 
                                                        |
| 40 | +        if (static::$kabsaCollection instanceof Collection) { | 
                                                        |
| 41 | 41 | static::$kabsaCollection->push(new static($row));  | 
                                                        
| 42 | 42 |          } else { | 
                                                        
| 43 | - static::$kabsaCollection = Collection::make([new static($row)]);  | 
                                                        |
| 43 | + static::$kabsaCollection = Collection::make([ new static($row) ]);  | 
                                                        |
| 44 | 44 | }  | 
                                                        
| 45 | 45 | |
| 46 | 46 | return true;  |