GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( ed4e77...491bb5 )
by Orlando
01:36
created

TimbreFiscalDigital::attributes()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the cfdi-xml project.
5
 *
6
 * (c) Kinedu
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Kinedu\CfdiXML\Common\Complemento;
13
14
use Kinedu\CfdiXML\Common\Complemento;
15
16
class TimbreFiscalDigital extends Complemento
17
{
18
    /**
19
     * The node name.
20
     *
21
     * @var string
22
     */
23
    protected $nodeName = 'tfd:TimbreFiscalDigital';
24
25
    /**
26
     * Create a new timbre fiscal digital instance.
27
     *
28
     * @param array $data
29
     */
30
    public function __construct(array $data)
31
    {
32
        $data = array_merge($this->attributes(), $data);
33
34
        parent::__construct($data);
35
    }
36
37
    /**
38
     * @return array
39
     */
40
    public function attributes()
41
    {
42
        return [
43
            'xmlns:tfd' => 'http://www.sat.gob.mx/TimbreFiscalDigital',
44
            'xmlns:xsi' => 'http://www.w3.org/2001/XMLSchema-instance',
45
            'xsi:schemaLocation' => 'http://www.sat.gob.mx/TimbreFiscalDigital http://www.sat.gob.mx/sitio_internet/cfd/TimbreFiscalDigital/TimbreFiscalDigitalv11.xsd',
46
        ];
47
    }
48
}
49