#9 Prevent syntax error in unpacking nested arrays into loop variables

Спојено
Borewit споји(ла) 1 комит(е) из issue-8 у master пре 6 година
  1. +1
    -1
      src/Logchecker.php

+ 1
- 1
src/Logchecker.php Прегледај датотеку

@@ -1024,7 +1024,7 @@ class Logchecker {
$MatchedDrives[$i] = ['drives' => [], 'offsets' => []];
}

foreach ($this->AllDrives as [$Drive, $Offset]) {
foreach ($this->AllDrives as list($Drive, $Offset)) {
$Distance = levenshtein($Drive, $DriveName);
if ($Distance < 5) {
$MatchedDrives[$Distance]['drives'][] = $Drive;


Loading…
Откажи
Сачувај