Conditions | 2 |
Paths | 2 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 0 |
1 | <?php |
||
24 | 267 | return $strategy === ClassMetadata::STORAGE_STRATEGY_ATOMIC_SET || $strategy === ClassMetadata::STORAGE_STRATEGY_ATOMIC_SET_ARRAY; |
|
25 | } |
||
26 | |||
27 | /** |
||
28 | * Returns whether Collection hold associative array. |
||
29 | */ |
||
30 | 203 | public static function isHash(string $strategy) : bool |
|
31 | { |
||
32 | 203 | return $strategy === ClassMetadata::STORAGE_STRATEGY_SET || $strategy === ClassMetadata::STORAGE_STRATEGY_ATOMIC_SET; |
|
59 |