EmptyAddress::getQrCodeData()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 8
c 0
b 0
f 0
dl 0
loc 10
rs 10
cc 1
nc 1
nop 0
1
<?php declare(strict_types=1);
2
3
namespace Sprain\SwissQrBill\DataGroup\EmptyElement;
4
5
use Sprain\SwissQrBill\DataGroup\QrCodeableInterface;
6
7
/**
8
 * @internal
9
 */
10
final class EmptyAddress implements QrCodeableInterface
11
{
12
    public const ADDRESS_TYPE = '';
13
14
    public function getQrCodeData(): array
15
    {
16
        return [
17
            self::ADDRESS_TYPE,
18
            null,
19
            null,
20
            null,
21
            null,
22
            null,
23
            null
24
        ];
25
    }
26
}
27