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

AbstractConfigGacela::configReaders()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 0
crap 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