Skip to content

Commit f6f2e44

Browse files
author
rkr
committed
- Minor fix: The parameter $oldValue is not used and could be removed.
1 parent 1ea10aa commit f6f2e44

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Databases/MySQL.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,10 @@ public function getTableFields($table) {
131131
* @return string
132132
*/
133133
public function quoteExpression($expression, array $arguments = array()) {
134-
$func = function ($oldValue) use ($arguments) {
134+
$func = function () use ($arguments) {
135135
static $idx = -1;
136136
$idx++;
137137
$index = $idx;
138-
139138
if(array_key_exists($index, $arguments)) {
140139
$argument = $arguments[$index];
141140
$value = $this->quote($argument);

0 commit comments

Comments
 (0)