Completed
Pull Request — master (#220)
by Alejandro
03:53 queued 01:02
created

ConfigProvider::__invoke()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
declare(strict_types=1);
3
4
namespace Shlinkio\Shlink\Installer;
5
6
use Zend\Config\Factory;
7
use Zend\Stdlib\Glob;
8
9
class ConfigProvider
10
{
11
    public function __invoke()
12
    {
13
        return Factory::fromFiles(Glob::glob(__DIR__ . '/../config/{,*.}config.php', Glob::GLOB_BRACE));
14
    }
15
}
16