#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;


読み込み中…
キャンセル
保存