Passed
Push — main ( 837674...4c753f )
by Carlos C
07:38 queued 12s
created

Services::overrideValues()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 1
eloc 7
nc 1
nop 0
dl 0
loc 9
ccs 2
cts 2
cp 1
crap 1
rs 10
c 2
b 0
f 0
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
 * @method static self retentions()
16
 *
17
 * @method bool isStamping()
18
 * @method bool isUtilities()
19
 * @method bool isCancel()
20
 * @method bool isManifest()
21
 * @method bool isRegistration()
22
 * @method bool isRetentions()
23
 */
24
class Services extends Enum
0 ignored issues
show
Bug introduced by
A parse error occurred: Syntax error, unexpected T_ENUM, expecting T_STRING or T_NAME_QUALIFIED or T_NAME_FULLY_QUALIFIED or T_NAME_RELATIVE on line 24 at column 23
Loading history...
25
{
26
    /**
27
     * @inheritdoc
28
     * @noinspection PhpMissingParentCallCommonInspection
29
     */
30 1
    protected static function overrideValues(): array
31
    {
32
        return [
33 1
            'stamping' => '/servicios/soap/stamp.wsdl',
34
            'utilities' => '/servicios/soap/utilities.wsdl',
35
            'cancel' => '/servicios/soap/cancel.wsdl',
36
            'manifest' => '/servicios/soap/firmar.wsdl',
37
            'registration' => '/servicios/soap/registration.wsdl',
38
            'retentions' => '/servicios/soap/retentions.wsdl',
39
        ];
40
    }
41
}
42