EmptyAddress   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 10
c 0
b 0
f 0
dl 0
loc 14
rs 10

1 Method

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