Skip to content

Commit 5d03eae

Browse files
committed
Fix PHPMD Violation.
258 | VIOLATION | Avoid unused local variables such as '$jKey'.
1 parent 33ba153 commit 5d03eae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/jblond/Diff/SequenceMatcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ public function findLongestMatch(int $alo, int $ahi, int $blo, int $bhi): array
255255
for ($i = $alo; $i < $ahi; ++$i) {
256256
$newJ2Len = array();
257257
$jDict = $this->arrayGetDefault($this->b2j, $old[$i], $nothing);
258-
foreach ($jDict as $jKey => $j) {
258+
foreach ($jDict as $j) {
259259
if ($j < $blo) {
260260
continue;
261261
} elseif ($j >= $bhi) {

0 commit comments

Comments
 (0)