Total Complexity | 3 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | final class Mixed implements Property |
||
15 | { |
||
16 | 10 | public static function build(Str $schema, Properties $properties): Property |
|
17 | { |
||
18 | 10 | if ((string) $schema !== 'mixed') { |
|
19 | 2 | throw new SchemaNotParseable((string) $schema); |
|
20 | } |
||
21 | |||
22 | 8 | return new self; |
|
23 | } |
||
24 | |||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | 7 | public function process($value) |
|
31 | } |
||
32 | } |
||
33 |