Completed
Push — master ( 578d3a...04a929 )
by Maurício
34s queued 14s
created
src/Components/CreateDefinition.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -66,11 +66,11 @@  discard block
 block discarded – undo
66 66
      * @param Reference|null    $references   references
67 67
      */
68 68
     public function __construct(
69
-        string|null $name = null,
70
-        OptionsArray|null $options = null,
71
-        DataType|Key|null $type = null,
69
+        string | null $name = null,
70
+        OptionsArray | null $options = null,
71
+        DataType | Key | null $type = null,
72 72
         bool $isConstraint = false,
73
-        Reference|null $references = null,
73
+        Reference | null $references = null,
74 74
     ) {
75 75
         $this->name = $name;
76 76
         $this->options = $options;
@@ -95,16 +95,16 @@  discard block
 block discarded – undo
95 95
             $tmp .= Context::escape($this->name) . ' ';
96 96
         }
97 97
 
98
-        if (! empty($this->type)) {
98
+        if (!empty($this->type)) {
99 99
             $this->type->lowercase = true;
100 100
             $tmp .= $this->type->build() . ' ';
101 101
         }
102 102
 
103
-        if (! empty($this->key)) {
103
+        if (!empty($this->key)) {
104 104
             $tmp .= $this->key . ' ';
105 105
         }
106 106
 
107
-        if (! empty($this->references)) {
107
+        if (!empty($this->references)) {
108 108
             $tmp .= 'REFERENCES ' . $this->references . ' ';
109 109
         }
110 110
 
Please login to merge, or discard this patch.
src/Parseable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,5 +18,5 @@
 block discarded – undo
18 18
      *
19 19
      * @return Component|Component[]|null
20 20
      */
21
-    public static function parse(Parser $parser, TokensList $list, array $options = []): Component|array|null;
21
+    public static function parse(Parser $parser, TokensList $list, array $options = []): Component | array | null;
22 22
 }
Please login to merge, or discard this patch.
src/Components/Parsers/CreateDefinitions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
                     $state = 4;
171 171
                 } elseif ($token->type === TokenType::Symbol || $token->type === TokenType::None) {
172 172
                     $expr->name = $token->value;
173
-                    if (! $expr->isConstraint) {
173
+                    if (!$expr->isConstraint) {
174 174
                         $state = 2;
175 175
                     }
176 176
                 } elseif ($token->type === TokenType::Keyword) {
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
 
212 212
                 $state = 5;
213 213
             } else {
214
-                if (! empty($expr->type) || ! empty($expr->key)) {
214
+                if (!empty($expr->type) || !empty($expr->key)) {
215 215
                     $ret[] = $expr;
216 216
                 }
217 217
 
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
         }
232 232
 
233 233
         // Last iteration was not saved.
234
-        if (! empty($expr->type) || ! empty($expr->key)) {
234
+        if (!empty($expr->type) || !empty($expr->key)) {
235 235
             $ret[] = $expr;
236 236
         }
237 237
 
Please login to merge, or discard this patch.