mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-12 01:18:19 +03:00
Fixed PhpStan error
This commit is contained in:
parent
84094a51a2
commit
6f7ce709ca
1 changed files with 3 additions and 3 deletions
|
@ -12,9 +12,9 @@ class ConfigProvider
|
|||
|
||||
public function __invoke()
|
||||
{
|
||||
return $this->applyRoutesPrefix(
|
||||
Factory::fromFiles(Glob::glob(__DIR__ . '/../config/{,*.}config.php', Glob::GLOB_BRACE))
|
||||
);
|
||||
/** @var array $config */
|
||||
$config = Factory::fromFiles(Glob::glob(__DIR__ . '/../config/{,*.}config.php', Glob::GLOB_BRACE));
|
||||
return $this->applyRoutesPrefix($config);
|
||||
}
|
||||
|
||||
private function applyRoutesPrefix(array $config): array
|
||||
|
|
Loading…
Reference in a new issue