EmptyAdditionalInformation   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getQrCodeData() 0 5 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 EmptyAdditionalInformation implements QrCodeableInterface
11
{
12
    public const TRAILER_EPD = 'EPD';
13
14
    public function getQrCodeData(): array
15
    {
16
        return [
17
            null,
18
            self::TRAILER_EPD
19
        ];
20
    }
21
}
22