Test Failed
Pull Request — master (#3)
by Carlos C
02:52
created

Services::overrideValues()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 6
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 8
ccs 0
cts 2
cp 0
crap 2
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace PhpCfdi\Finkok\Definitions;
6
7
use Eclipxe\Enum\Enum;
8
9
/**
10
 * @method static self stamping()
11
 * @method static self utilities()
12
 * @method static self cancel()
13
 * @method static self manifest()
14
 * @method static self registration()
15
 *
16
 * @method bool isStamping()
17
 * @method bool isUtilities()
18
 * @method bool isCancel()
19
 * @method bool isManifest()
20
 * @method bool isRegistration()
21
 */
22
class Services extends Enum
23
{
24
    protected static function overrideValues(): array
25
    {
26
        return [
27
            'stamping' => '/servicios/soap/stamp.wsdl',
28
            'utilities' => '/servicios/soap/utilities.wsdl',
29
            'cancel' => '/servicios/soap/cancel.wsdl',
30
            'manifest' => '/servicios/soap/firmar.wsdl',
31
            'registration' => '/servicios/soap/registration.wsdl',
32
        ];
33
    }
34
}
35