@@ -23,7 +23,7 @@ discard block  | 
                                                    ||
| 23 | 23 |      { | 
                                                        
| 24 | 24 | return [  | 
                                                        
| 25 | 25 | 'select' => $select,  | 
                                                        
| 26 | - 'values' => (array)$options["columns"],  | 
                                                        |
| 26 | + 'values' => (array) $options["columns"],  | 
                                                        |
| 27 | 27 | 'columns' => $columns,  | 
                                                        
| 28 | 28 | 'functions' => $this->driver->functions(),  | 
                                                        
| 29 | 29 | 'grouping' => $this->driver->grouping(),  | 
                                                        
@@ -47,7 +47,7 @@ discard block  | 
                                                    ||
| 47 | 47 | }  | 
                                                        
| 48 | 48 | return [  | 
                                                        
| 49 | 49 | // 'where' => $where,  | 
                                                        
| 50 | - 'values' => (array)$options["where"],  | 
                                                        |
| 50 | + 'values' => (array) $options["where"],  | 
                                                        |
| 51 | 51 | 'columns' => $columns,  | 
                                                        
| 52 | 52 | 'indexes' => $indexes,  | 
                                                        
| 53 | 53 | 'operators' => $this->driver->operators(),  | 
                                                        
@@ -66,8 +66,8 @@ discard block  | 
                                                    ||
| 66 | 66 | private function getSortingOptions(array $columns, array $options)  | 
                                                        
| 67 | 67 |      { | 
                                                        
| 68 | 68 | $values = [];  | 
                                                        
| 69 | - $descs = (array)$options["desc"];  | 
                                                        |
| 70 | -        foreach ((array)$options["order"] as $key => $value) { | 
                                                        |
| 69 | + $descs = (array) $options["desc"];  | 
                                                        |
| 70 | +        foreach ((array) $options["order"] as $key => $value) { | 
                                                        |
| 71 | 71 | $values[] = [  | 
                                                        
| 72 | 72 | 'col' => $value,  | 
                                                        
| 73 | 73 | 'desc' => $descs[$key] ?? 0,  |