@@ -770,7 +770,7 @@ |
||
770 | 770 | * Get column name by order column index. |
771 | 771 | * |
772 | 772 | * @param int $index |
773 | - * @return mixed |
|
773 | + * @return boolean|string |
|
774 | 774 | */ |
775 | 775 | protected function getColumnNameByIndex($index) |
776 | 776 | { |
@@ -282,8 +282,7 @@ |
||
282 | 282 | $column = $this->connection->getQueryGrammar()->wrap($column); |
283 | 283 | if ($this->database === 'pgsql') { |
284 | 284 | $column = 'CAST(' . $column . ' as TEXT)'; |
285 | - } |
|
286 | - elseif ($this->database === 'firebird') { |
|
285 | + } elseif ($this->database === 'firebird') { |
|
287 | 286 | $column = 'CAST(' . $column . ' as VARCHAR(255))'; |
288 | 287 | } |
289 | 288 |