diff --git a/app/Bootstrap/FilesComposer.php b/app/Bootstrap/FilesComposer.php index 224e95a..ae92eb1 100644 --- a/app/Bootstrap/FilesComposer.php +++ b/app/Bootstrap/FilesComposer.php @@ -30,7 +30,7 @@ class FilesComposer $this->hiddenFiles = Collection::make( $this->config->get('hidden_files', []) - )->when($config->get('hide_app_files', true), function ($collection) { + )->when($config->get('hide_app_files', true), function (Collection $collection) { return $collection->merge(self::APP_FILES); })->map(function (string $file) { return glob($file, GLOB_BRACE | GLOB_NOSORT); diff --git a/app/Controllers/DirectoryController.php b/app/Controllers/DirectoryController.php index d9b4440..a213036 100644 --- a/app/Controllers/DirectoryController.php +++ b/app/Controllers/DirectoryController.php @@ -31,7 +31,7 @@ class DirectoryController /** * Invoke the DirectoryController. * - * @param \Symfony\Component\Finder\Finder $finder + * @param \Symfony\Component\Finder\Finder $files * @param \Slim\Psr7\Response $response * @param string $path * diff --git a/app/themes/default/functions.php b/app/themes/default/functions.php index 23ac56a..e77969e 100644 --- a/app/themes/default/functions.php +++ b/app/themes/default/functions.php @@ -25,8 +25,8 @@ return [ /** * Retrieve an item from the theme config. * - * @param string $key - * @param mixed $default + * @param string $key + * @param mixed|null $default * * @return mixed */