mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-11 17:03:53 +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()
|
public function __invoke()
|
||||||
{
|
{
|
||||||
return $this->applyRoutesPrefix(
|
/** @var array $config */
|
||||||
Factory::fromFiles(Glob::glob(__DIR__ . '/../config/{,*.}config.php', Glob::GLOB_BRACE))
|
$config = Factory::fromFiles(Glob::glob(__DIR__ . '/../config/{,*.}config.php', Glob::GLOB_BRACE));
|
||||||
);
|
return $this->applyRoutesPrefix($config);
|
||||||
}
|
}
|
||||||
|
|
||||||
private function applyRoutesPrefix(array $config): array
|
private function applyRoutesPrefix(array $config): array
|
||||||
|
|
Loading…
Reference in a new issue