Completed
Push — master ( 664593...a0e8ce )
by Bas
12s
created

ConfigProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __invoke() 0 9 1
1
<?php
2
3
namespace BsbFlysystem;
4
5
class ConfigProvider
6
{
7
    /**
8
     * Return configuration for this component.
9
     *
10
     * @return array
11
     */
12 2
    public function __invoke()
13
    {
14 2
        $config = (new Module())->getConfig();
15
16
        return [
17 2
            'dependencies' => $config['service_manager'],
18 2
            'bsb_flysystem' => $config['bsb_flysystem'],
19
        ];
20
    }
21
}
22