InheritanceStatuses   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 18
rs 10
c 0
b 0
f 0

1 Method

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