mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-24 22:46:08 +02:00
Fixed a static analysis error
This commit is contained in:
@@ -35,7 +35,7 @@ class ParentUrl extends ViewFunction
|
||||
function (string $segment): string {
|
||||
return rawurlencode($segment);
|
||||
}
|
||||
)->filter(function ($value): bool {
|
||||
)->filter(function (?string $value): bool {
|
||||
return $value !== null;
|
||||
})->slice(0, -1)->implode($this->directorySeparator);
|
||||
|
||||
|
Reference in New Issue
Block a user