Passed
Push — master ( fa1416...da5f2f )
by Jesús
04:02 queued 12s
created

AbstractConfigGacela   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
eloc 4
c 1
b 0
f 0
dl 0
loc 30
ccs 6
cts 6
cp 1
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A configReaders() 0 3 1
A config() 0 3 1
A mappingInterfaces() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Gacela\Framework;
6
7
use Gacela\Framework\Config\ConfigReaderInterface;
8
9
abstract class AbstractConfigGacela
10
{
11
    /**
12
     * @return array<array>|array{
0 ignored issues
show
Documentation Bug introduced by
The doc comment array<array>|array{ at position 7 could not be parsed: the token is null at position 7.
Loading history...
13
     *     type?:string,
14
     *     path?:string,
15
     *     path_local?:string
16
     * }
17
     */
18 6
    public function config(): array
19
    {
20 6
        return [];
21
    }
22
23
    /**
24
     * @return array<string,ConfigReaderInterface>
25
     */
26 7
    public function configReaders(): array
27
    {
28 7
        return [];
29
    }
30
31
    /**
32
     * @param array<string,mixed> $globalServices
33
     *
34
     * @return array<class-string,class-string|callable>
35
     */
36 1
    public function mappingInterfaces(array $globalServices): array
37
    {
38 1
        return [];
39
    }
40
}
41