ConfigProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 0
dl 0
loc 13
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __invoke() 0 10 1
1
<?php
2
declare(strict_types=1);
3
4
namespace WShafer\PSR11FlySystem;
5
6
class ConfigProvider
7
{
8 1
    public function __invoke()
9
    {
10
        return [
11 1
            'dependencies' => [
12
                'factories'  => [
13
                    FlySystemManager::class => FlySystemManagerFactory::class
14
                ],
15
            ],
16
        ];
17
    }
18
}
19