Skip to content

Commit 0cf33a8

Browse files
committed
getSqlExpression() should not be final
If we need to extend the dialect, we have to overload the getSqlExpression(). See #2952 and http://forum.phalconphp.com/discussion/1748/date-sub-interval-mysql
1 parent f6b848e commit 0cf33a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phalcon/db/dialect.zep

+1-1
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ abstract class Dialect
112112
* @param string escapeChar
113113
* @return string
114114
*/
115-
public final function getSqlExpression(array! expression, var escapeChar = null) -> string
115+
public function getSqlExpression(array! expression, var escapeChar = null) -> string
116116
{
117117
var type, domain, operator, left, right, name, sqlItems,
118118
escapedName, sqlArguments, arguments, argument, item;

0 commit comments

Comments
 (0)