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

Services   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 10
ccs 0
cts 2
cp 0
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A overrideValues() 0 8 1
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