Explorar el Código

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

pull/9/head
Borewit hace 6 años
padre
commit
ed3b839d00
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/Logchecker.php

+ 1
- 1
src/Logchecker.php Ver fichero

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


Cargando…
Cancelar
Guardar