Fixed some typehints

This commit is contained in:
Chris Kankiewicz
2020-07-02 10:27:44 -07:00
parent 898cd1c047
commit 2a9b01d002
2 changed files with 2 additions and 2 deletions

View File

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

View File

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