mirror of
https://github.com/filegator/filegator.git
synced 2025-08-13 11:34:24 +02:00
phpstan & refactoring
This commit is contained in:
@@ -282,6 +282,6 @@ class Filesystem implements Service
|
||||
|
||||
$tmp = explode($this->separator, trim($path, $this->separator));
|
||||
|
||||
return array_pop($tmp);
|
||||
return (string) array_pop($tmp);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user