InheritanceStatuses::getValues()   A
last analyzed

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
declare(strict_types=1);
3
4
namespace Yproximite\Api\Model\Inheritance;
5
6
/**
7
 * Class InheritanceStatuses
8
 */
9
class InheritanceStatuses
10
{
11
    const NONE       = 'none';
12
    const INHERITED  = 'inherited';
13
    const OVERRIDDEN = 'overridden';
14
15
    /**
16
     * @return string[]
17
     */
18
    public static function getValues(): array
19
    {
20
        return [
21
            self::NONE,
22
            self::INHERITED,
23
            self::OVERRIDDEN,
24
        ];
25
    }
26
}
27