Completed
Pull Request — master (#552)
by
unknown
02:30
created
src/Engines/BaseEngine.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -770,7 +770,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Engines/QueryBuilderEngine.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -282,8 +282,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.