Skip to content

Commit 4b3684f

Browse files
committed
Fix unused variable
1 parent 2d0b364 commit 4b3684f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Utils/Query.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -726,12 +726,12 @@ public static function replaceClauses($statement, $list, array $ops)
726726
$ret .= static::getClause($statement, $list, $ops[0][0], -1) . ' ';
727727

728728
// Doing replacements.
729-
foreach ($ops as $i => $iValue) {
730-
$ret .= $ops[$i][1] . ' ';
729+
foreach ($ops as $i => $clause) {
730+
$ret .= $clause[1] . ' ';
731731

732732
// Adding everything between this and next replacement.
733733
if ($i + 1 !== $count) {
734-
$ret .= static::getClause($statement, $list, $ops[$i][0], $ops[$i + 1][0]) . ' ';
734+
$ret .= static::getClause($statement, $list, $clause[0], $ops[$i + 1][0]) . ' ';
735735
}
736736
}
737737

0 commit comments

Comments
 (0)