mirror of
https://github.com/shlinkio/shlink.git
synced 2026-03-09 16:53:11 +08:00
Updated to coding standard v2.1
This commit is contained in:
@@ -21,7 +21,7 @@ class ConfigProvider
|
||||
$this->loadConfig = Closure::fromCallable($loadConfig ?? fn (string $glob) => loadConfigFromGlob($glob));
|
||||
}
|
||||
|
||||
public function __invoke()
|
||||
public function __invoke(): array
|
||||
{
|
||||
$config = ($this->loadConfig)(__DIR__ . '/../config/{,*.}config.php');
|
||||
return $this->applyRoutesPrefix($config);
|
||||
|
||||
Reference in New Issue
Block a user