eee
This commit is contained in:
+3
-4
@@ -85,10 +85,9 @@ class ScanManifest
|
||||
return array_keys($this->entries);
|
||||
}
|
||||
|
||||
return $this->entries
|
||||
|> array_keys(...)
|
||||
|> (fn($x) => array_filter($x, fn(string $path) => str_starts_with($path, $prefix)))
|
||||
|> array_values(...);
|
||||
$keys = array_keys($this->entries);
|
||||
$filtered = array_filter($keys, fn(string $path) => str_starts_with($path, $prefix));
|
||||
return array_values($filtered);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user