瀏覽代碼

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

pull/9/head
Borewit 6 年之前
父節點
當前提交
ed3b839d00
共有 1 個檔案被更改,包括 1 行新增1 行删除
  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…
取消
儲存