@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | { |
10 | 10 | protected string $column; |
11 | 11 | |
12 | - protected string|int|float $value; |
|
12 | + protected string | int | float $value; |
|
13 | 13 | |
14 | 14 | /** |
15 | 15 | * @var \Level23\Druid\Types\DataType |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | */ |
27 | 27 | public function __construct( |
28 | 28 | string $column, |
29 | - string|int|float $value, |
|
29 | + string | int | float $value, |
|
30 | 30 | DataType $matchValueType = null |
31 | 31 | ) { |
32 | 32 | if (is_null($matchValueType)) { |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | { |
10 | 10 | protected string $column; |
11 | 11 | |
12 | - protected string|int|float|null $value; |
|
12 | + protected string | int | float | null $value; |
|
13 | 13 | |
14 | 14 | /** |
15 | 15 | * @var \Level23\Druid\Types\DataType |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | */ |
27 | 27 | public function __construct( |
28 | 28 | string $column, |
29 | - string|int|float|null $value, |
|
29 | + string | int | float | null $value, |
|
30 | 30 | DataType $matchValueType = null |
31 | 31 | ) { |
32 | 32 | if (is_null($matchValueType)) { |
@@ -37,11 +37,11 @@ |
||
37 | 37 | */ |
38 | 38 | public function __construct( |
39 | 39 | string $dimension, |
40 | - string|BoundOperator $operator, |
|
40 | + string | BoundOperator $operator, |
|
41 | 41 | string $value, |
42 | - string|SortingOrder $ordering = null |
|
42 | + string | SortingOrder $ordering = null |
|
43 | 43 | ) { |
44 | - if(is_string($ordering)) { |
|
44 | + if (is_string($ordering)) { |
|
45 | 45 | $ordering = SortingOrder::from(strtolower($ordering)); |
46 | 46 | } |
47 | 47 |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | /** |
18 | 18 | * @var string|string[] |
19 | 19 | */ |
20 | - protected string|array $value; |
|
20 | + protected string | array $value; |
|
21 | 21 | |
22 | 22 | protected bool $caseSensitive; |
23 | 23 | |
@@ -33,7 +33,7 @@ discard block |
||
33 | 33 | */ |
34 | 34 | public function __construct( |
35 | 35 | string $dimension, |
36 | - array|string $valueOrValues, |
|
36 | + array | string $valueOrValues, |
|
37 | 37 | bool $caseSensitive = false |
38 | 38 | ) { |
39 | 39 | $this->dimension = $dimension; |