Static analysis fixes

This commit is contained in:
Chris Kankiewicz
2019-12-15 20:38:38 -07:00
parent 6ae4cec19a
commit 9de11b5c21
3 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

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

View File

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