Quellcode durchsuchen

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

tags/v0.8.2
Borewit vor 6 Jahren
committed by it is madness
Ursprung
Commit
e462fdef45
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      src/Logchecker.php

+ 1
- 1
src/Logchecker.php Datei anzeigen

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


Laden…
Abbrechen
Speichern