@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | return $this->getOptions(); |
76 | 76 | } |
77 | 77 | |
78 | - public function string(?int $length = null, bool $fixed = false): FluidColumnOptions |
|
78 | + public function string(? int $length = null, bool $fixed = false) : FluidColumnOptions |
|
79 | 79 | { |
80 | 80 | $this->column->setType(Type::getType(Type::STRING)); |
81 | 81 | $this->column->setLength($length); |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * From Doctrine DBAL 2.4+. |
100 | 100 | */ |
101 | - public function binary(?int $length = null, bool $fixed = false): FluidColumnOptions |
|
101 | + public function binary(? int $length = null, bool $fixed = false) : FluidColumnOptions |
|
102 | 102 | { |
103 | 103 | $this->column->setType(Type::getType(Type::BINARY)); |
104 | 104 | $this->column->setLength($length); |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | return $this->getOptions(); |
207 | 207 | } |
208 | 208 | |
209 | - public function references(string $tableName, ?string $constraintName = null, string $onUpdate = 'RESTRICT', string $onDelete = 'RESTRICT'): FluidColumnOptions |
|
209 | + public function references(string $tableName, ? string $constraintName = null, string $onUpdate = 'RESTRICT', string $onDelete = 'RESTRICT') : FluidColumnOptions |
|
210 | 210 | { |
211 | 211 | $table = $this->fluidSchema->getDbalSchema()->getTable($tableName); |
212 | 212 |