Passed
Push — master ( 4d62c3...e2457a )
by Teye
05:24
created

MultiValueHandling::validate()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 11
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 8
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 6
dl 0
loc 11
ccs 8
cts 8
cp 1
rs 10
c 1
b 0
f 0
cc 2
nc 2
nop 1
crap 2
1
<?php
2
declare(strict_types=1);
3
4
namespace Level23\Druid\Types;
5
6
/**
7
 * Enum MultiValueHandling
8
 *
9
 * @package Level23\Druid\Types
10
 */
11
enum MultiValueHandling: string
12
{
13
    case SORTED_ARRAY = 'SORTED_ARRAY';
14
    case SORTED_SET   = 'SORTED_SET';
15
    case ARRAY        = 'ARRAY';
16
}