mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-22 21:54:15 +02:00
Fixed some typehints
This commit is contained in:
@@ -18,7 +18,7 @@ class FinderFactory
|
||||
/** @var HiddenFiles Collection of hidden files */
|
||||
protected $hiddenFiles;
|
||||
|
||||
/** @var Glob Hidden files pattern cache */
|
||||
/** @var Glob|null Hidden files pattern cache */
|
||||
protected $pattern;
|
||||
|
||||
/**
|
||||
|
@@ -29,7 +29,7 @@ class ParentUrl extends ViewFunction
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function __invoke(string $path)
|
||||
public function __invoke(string $path): string
|
||||
{
|
||||
$parentDir = Str::explode($path, $this->directorySeparator)->map(
|
||||
static function (string $segment): string {
|
||||
|
Reference in New Issue
Block a user