Passed
Push — master ( a1819b...314286 )
by Teye
05:03
created
src/InputSources/HttpInputSource.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * @var null|string|string[]
17 17
      */
18
-    protected string|array|null $password;
18
+    protected string | array | null $password;
19 19
 
20 20
     /**
21 21
      * HttpInputSource constructor.
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      * @param string|null          $username
25 25
      * @param string|string[]|null $password
26 26
      */
27
-    public function __construct(array $uris, ?string $username = null, array|string|null $password = null)
27
+    public function __construct(array $uris, ?string $username = null, array | string | null $password = null)
28 28
     {
29 29
         $this->uris     = $uris;
30 30
         $this->username = $username;
Please login to merge, or discard this patch.
src/InputFormats/FlattenSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      *
37 37
      * @return $this
38 38
      */
39
-    public function field(string|FlattenFieldType $flattenFieldType, string $name, ?string $expr = null): self
39
+    public function field(string | FlattenFieldType $flattenFieldType, string $name, ?string $expr = null): self
40 40
     {
41 41
         $type = is_string($flattenFieldType) ? FlattenFieldType::from(strtolower($flattenFieldType)) : $flattenFieldType;
42 42
 
Please login to merge, or discard this patch.
src/Aggregations/AnyAggregator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     public function __construct(
24 24
         string $metricName,
25 25
         string $outputName = '',
26
-        string|DataType $type = DataType::LONG,
26
+        string | DataType $type = DataType::LONG,
27 27
         ?int $maxStringBytes = null
28 28
     ) {
29 29
         if (is_string($type)) {
Please login to merge, or discard this patch.
src/Tasks/CompactTask.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     public function __construct(
53 53
         string $dataSource,
54 54
         IntervalInterface $interval,
55
-        string|Granularity|null $segmentGranularity = null,
55
+        string | Granularity | null $segmentGranularity = null,
56 56
         ?TuningConfig $tuningConfig = null,
57 57
         ?TaskContext $context = null,
58 58
         ?int $targetCompactionSizeBytes = null,
Please login to merge, or discard this patch.
src/Dimensions/Dimension.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,12 +24,12 @@  discard block
 block discarded – undo
24 24
     public function __construct(
25 25
         string $dimension,
26 26
         ?string $outputName = null,
27
-        string|DataType $outputType = DataType::STRING
27
+        string | DataType $outputType = DataType::STRING
28 28
     ) {
29 29
         $this->dimension  = $dimension;
30 30
         $this->outputName = $outputName ?: $dimension;
31 31
 
32
-        if( empty($outputType)) {
32
+        if (empty($outputType)) {
33 33
             $outputType = DataType::STRING;
34 34
         } else {
35 35
             $outputType = is_string($outputType) ? DataType::from(strtolower($outputType)) : $outputType;
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             );
42 42
         }
43 43
 
44
-        $this->outputType         = $outputType;
44
+        $this->outputType = $outputType;
45 45
     }
46 46
 
47 47
     /**
Please login to merge, or discard this patch.
src/Filters/RangeFilter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
 
23 23
     protected BoundOperator $operator;
24 24
 
25
-    protected string|int|float $value;
25
+    protected string | int | float $value;
26 26
 
27 27
     protected SortingOrder $ordering;
28 28
 
@@ -44,8 +44,8 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function __construct(
46 46
         string $column,
47
-        string|BoundOperator $operator,
48
-        string|int|float $value,
47
+        string | BoundOperator $operator,
48
+        string | int | float $value,
49 49
         ?DataType $valueType = null
50 50
     ) {
51 51
         $this->column   = $column;
Please login to merge, or discard this patch.
src/Filters/BetweenFilter.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -22,9 +22,9 @@  discard block
 block discarded – undo
22 22
 {
23 23
     protected string $column;
24 24
 
25
-    protected int|string|float $minValue;
25
+    protected int | string | float $minValue;
26 26
 
27
-    protected int|string|float $maxValue;
27
+    protected int | string | float $maxValue;
28 28
 
29 29
     protected DataType $valueType;
30 30
 
@@ -41,8 +41,8 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function __construct(
43 43
         string $column,
44
-        int|float|string $minValue,
45
-        int|float|string $maxValue,
44
+        int | float | string $minValue,
45
+        int | float | string $maxValue,
46 46
         ?DataType $valueType = null
47 47
     ) {
48 48
         if (is_null($valueType)) {
Please login to merge, or discard this patch.
src/Filters/ArrayContainsFilter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)) {
Please login to merge, or discard this patch.
src/Filters/BoundFilter.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -37,11 +37,11 @@
 block discarded – undo
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|null $ordering = null
42
+        string | SortingOrder | null $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
 
Please login to merge, or discard this patch.