CancelCommentType::all()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
nc 1
nop 0
dl 0
loc 5
rs 10
c 1
b 0
f 0
1
<?php
2
declare(strict_types=1);
3
4
namespace Shoman4eg\Nalog\Enum;
5
6
/**
7
 * @author Artem Dubinin <[email protected]>
8
 */
9
final class CancelCommentType
10
{
11
    public const CANCEL = 'Чек сформирован ошибочно';
12
    public const REFUND = 'Возврат средств';
13
14
    public static function all(): array
15
    {
16
        return [
17
            self::CANCEL,
18
            self::REFUND,
19
        ];
20
    }
21
}
22