Completed
Push — master ( 3cf559...7252c9 )
by Pablo
07:16
created

EnumValueObject   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A validValues() 0 6 1
1
<?php
2
declare(strict_types=1);
3
4
namespace PhpValueObjects\Tests\Identity;
5
6
final class EnumValueObject extends \PhpValueObjects\Identity\EnumValueObject
7
{
8
    const VALID = 'valid';
9
10
    protected function validValues(): array
11
    {
12
        return [
13
            self::VALID
14
        ];
15
    }
16
}
17