Add return types
This commit is contained in:
parent
f2785bca03
commit
05311ac7b6
21 changed files with 84 additions and 78 deletions
|
@ -20,7 +20,7 @@ class ConfigFactory
|
|||
* @return Config
|
||||
* @throws ConfigException
|
||||
*/
|
||||
public static function create(Container $container)
|
||||
public static function create(Container $container): Config
|
||||
{
|
||||
$configPath = __DIR__ . '/../../config/config.yml';
|
||||
if (is_file($configPath)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue