Test Failed
Push — 2.x ( 89f9ab...7124ef )
by Aleksei
02:29
created
src/Driver/Postgres/Schema/PostgresColumn.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
         return $this->type('bigPrimary');
163 163
     }
164 164
 
165
-    public function enum(string|array $values): AbstractColumn
165
+    public function enum(string | array $values): AbstractColumn
166 166
     {
167 167
         $this->enumValues = array_map('strval', \is_array($values) ? $values : \func_get_args());
168 168
 
@@ -298,13 +298,13 @@  discard block
 block discarded – undo
298 298
             return $column;
299 299
         }
300 300
 
301
-        if (str_contains($column->type, 'char') && (int) $schema['character_maximum_length']) {
301
+        if (str_contains($column->type, 'char') && (int)$schema['character_maximum_length']) {
302 302
             $column->size = $schema['character_maximum_length'];
303 303
         }
304 304
 
305 305
         if ($column->type === 'numeric') {
306
-            $column->precision = (int) $schema['numeric_precision'];
307
-            $column->scale = (int) $schema['numeric_scale'];
306
+            $column->precision = (int)$schema['numeric_precision'];
307
+            $column->scale = (int)$schema['numeric_scale'];
308 308
         }
309 309
 
310 310
         if ($column->type === 'USER-DEFINED' && $schema['typtype'] === 'e') {
Please login to merge, or discard this patch.