diff --git a/Library/Phalcon/Db/Dialect/MysqlExtended.php b/Library/Phalcon/Db/Dialect/MysqlExtended.php index 33f24b900..b79275101 100644 --- a/Library/Phalcon/Db/Dialect/MysqlExtended.php +++ b/Library/Phalcon/Db/Dialect/MysqlExtended.php @@ -36,7 +36,7 @@ class MysqlExtended extends \Phalcon\Db\Dialect\Mysql * * @return string */ - public function getSqlExpression($expression, $escapeChar = null) + public function getSqlExpression(array $expression, $escapeChar = NULL) { if ($expression["type"] == 'functionCall') { switch ($expression["name"]) {