Completed
Push — master ( 885755...1f0c92 )
by Maurício
19s queued 16s
created
src/Components/GroupKeyword.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,15 +14,15 @@
 block discarded – undo
14 14
 final class GroupKeyword implements Component
15 15
 {
16 16
     /** @var 'ASC'|'DESC'|null */
17
-    public string|null $type = null;
17
+    public string | null $type = null;
18 18
 
19 19
     /**
20 20
      * The expression that is used for grouping.
21 21
      */
22
-    public Expression|null $expr = null;
22
+    public Expression | null $expr = null;
23 23
 
24 24
     /** @param Expression|null $expr the expression that we are sorting by */
25
-    public function __construct(Expression|null $expr = null)
25
+    public function __construct(Expression | null $expr = null)
26 26
     {
27 27
         $this->expr = $expr;
28 28
     }
Please login to merge, or discard this patch.
src/Components/Limit.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -14,18 +14,18 @@
 block discarded – undo
14 14
     /**
15 15
      * The number of rows skipped.
16 16
      */
17
-    public int|string $offset;
17
+    public int | string $offset;
18 18
 
19 19
     /**
20 20
      * The number of rows to be returned.
21 21
      */
22
-    public int|string $rowCount;
22
+    public int | string $rowCount;
23 23
 
24 24
     /**
25 25
      * @param int|string $rowCount the row count
26 26
      * @param int|string $offset   the offset
27 27
      */
28
-    public function __construct(int|string $rowCount = 0, int|string $offset = 0)
28
+    public function __construct(int | string $rowCount = 0, int | string $offset = 0)
29 29
     {
30 30
         $this->rowCount = $rowCount;
31 31
         $this->offset = $offset;
Please login to merge, or discard this patch.
src/Components/CreateDefinition.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -19,32 +19,32 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * The name of the new column.
21 21
      */
22
-    public string|null $name = null;
22
+    public string | null $name = null;
23 23
 
24 24
     /**
25 25
      * Whether this field is a constraint or not.
26 26
      */
27
-    public bool|null $isConstraint = null;
27
+    public bool | null $isConstraint = null;
28 28
 
29 29
     /**
30 30
      * The data type of thew new column.
31 31
      */
32
-    public DataType|null $type = null;
32
+    public DataType | null $type = null;
33 33
 
34 34
     /**
35 35
      * The key.
36 36
      */
37
-    public Key|null $key = null;
37
+    public Key | null $key = null;
38 38
 
39 39
     /**
40 40
      * The table that is referenced.
41 41
      */
42
-    public Reference|null $references = null;
42
+    public Reference | null $references = null;
43 43
 
44 44
     /**
45 45
      * The options of this field.
46 46
      */
47
-    public OptionsArray|null $options = null;
47
+    public OptionsArray | null $options = null;
48 48
 
49 49
     /**
50 50
      * @param string|null       $name         the name of the field
@@ -54,11 +54,11 @@  discard block
 block discarded – undo
54 54
      * @param Reference|null    $references   references
55 55
      */
56 56
     public function __construct(
57
-        string|null $name = null,
58
-        OptionsArray|null $options = null,
59
-        DataType|Key|null $type = null,
57
+        string | null $name = null,
58
+        OptionsArray | null $options = null,
59
+        DataType | Key | null $type = null,
60 60
         bool $isConstraint = false,
61
-        Reference|null $references = null,
61
+        Reference | null $references = null,
62 62
     ) {
63 63
         $this->name = $name;
64 64
         $this->options = $options;
@@ -83,16 +83,16 @@  discard block
 block discarded – undo
83 83
             $tmp .= Context::escape($this->name) . ' ';
84 84
         }
85 85
 
86
-        if (! empty($this->type)) {
86
+        if (!empty($this->type)) {
87 87
             $this->type->lowercase = true;
88 88
             $tmp .= $this->type->build() . ' ';
89 89
         }
90 90
 
91
-        if (! empty($this->key)) {
91
+        if (!empty($this->key)) {
92 92
             $tmp .= $this->key . ' ';
93 93
         }
94 94
 
95
-        if (! empty($this->references)) {
95
+        if (!empty($this->references)) {
96 96
             $tmp .= 'REFERENCES ' . $this->references . ' ';
97 97
         }
98 98
 
Please login to merge, or discard this patch.
src/Components/AlterOperation.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -19,19 +19,19 @@  discard block
 block discarded – undo
19 19
     /**
20 20
      * Options of this operation.
21 21
      */
22
-    public OptionsArray|null $options = null;
22
+    public OptionsArray | null $options = null;
23 23
 
24 24
     /**
25 25
      * The altered field.
26 26
      */
27
-    public Expression|string|null $field = null;
27
+    public Expression | string | null $field = null;
28 28
 
29 29
     /**
30 30
      * The partitions.
31 31
      *
32 32
      * @var PartitionDefinition[]|null
33 33
      */
34
-    public array|null $partitions = null;
34
+    public array | null $partitions = null;
35 35
 
36 36
     /**
37 37
      * @param OptionsArray|null          $options    options of alter operation
@@ -40,9 +40,9 @@  discard block
 block discarded – undo
40 40
      * @param Token[]                    $unknown    unparsed tokens found at the end of operation
41 41
      */
42 42
     public function __construct(
43
-        OptionsArray|null $options = null,
44
-        Expression|string|null $field = null,
45
-        array|null $partitions = null,
43
+        OptionsArray | null $options = null,
44
+        Expression | string | null $field = null,
45
+        array | null $partitions = null,
46 46
         public array $unknown = [],
47 47
     ) {
48 48
         $this->partitions = $partitions;
Please login to merge, or discard this patch.