@@ -162,7 +162,7 @@ discard block |
||
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 | |
@@ -300,12 +300,12 @@ discard block |
||
300 | 300 | } |
301 | 301 | |
302 | 302 | if ($schema['character_maximum_length'] !== null && str_contains($column->type, 'char')) { |
303 | - $column->size = (int) $schema['character_maximum_length']; |
|
303 | + $column->size = (int)$schema['character_maximum_length']; |
|
304 | 304 | } |
305 | 305 | |
306 | 306 | if ($column->type === 'numeric') { |
307 | - $column->precision = (int) $schema['numeric_precision']; |
|
308 | - $column->scale = (int) $schema['numeric_scale']; |
|
307 | + $column->precision = (int)$schema['numeric_precision']; |
|
308 | + $column->scale = (int)$schema['numeric_scale']; |
|
309 | 309 | } |
310 | 310 | |
311 | 311 | if ($column->type === 'USER-DEFINED' && $schema['typtype'] === 'e') { |
@@ -334,7 +334,7 @@ discard block |
||
334 | 334 | return true; |
335 | 335 | } |
336 | 336 | |
337 | - return (bool) ( |
|
337 | + return (bool)( |
|
338 | 338 | in_array($this->getAbstractType(), ['primary', 'bigPrimary']) |
339 | 339 | && $initial->getDefaultValue() != $this->getDefaultValue() |
340 | 340 | ) |