Skip to content

Commit aa95adb

Browse files
committed
Fix CS and Bump v6.11.2.
1 parent 940c6ae commit aa95adb

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
##Change Log
1010

11+
###v6.11.2 - 2016-05-18
12+
- Add CAST for Firebird #552.
13+
1114
###v6.11.1 - 2016-05-11
1215
- Use Str class helper instead of strlen for better unicode support.
1316
- Change method from private to protected as requested on #544.

src/Engines/QueryBuilderEngine.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,7 @@ public function castColumn($column)
282282
$column = $this->connection->getQueryGrammar()->wrap($column);
283283
if ($this->database === 'pgsql') {
284284
$column = 'CAST(' . $column . ' as TEXT)';
285-
}
286-
elseif ($this->database === 'firebird') {
285+
} elseif ($this->database === 'firebird') {
287286
$column = 'CAST(' . $column . ' as VARCHAR(255))';
288287
}
289288

0 commit comments

Comments
 (0)