|
@@ -76,7 +76,7 @@ discard block |
|
|
block discarded – undo |
|
76
|
76
|
return $this->getOptions(); |
|
77
|
77
|
} |
|
78
|
78
|
|
|
79
|
|
- public function string(?string $length = null, bool $fixed = false): FluidColumnOptions |
|
|
79
|
+ public function string(? string $length = null, bool $fixed = false) : FluidColumnOptions |
|
80
|
80
|
{ |
|
81
|
81
|
$this->column->setType(Type::getType(Type::STRING)); |
|
82
|
82
|
$this->column->setLength($length); |
|
@@ -103,7 +103,7 @@ discard block |
|
|
block discarded – undo |
|
103
|
103
|
* @param bool $fixed |
|
104
|
104
|
* @return FluidColumnOptions |
|
105
|
105
|
*/ |
|
106
|
|
- public function binary(?string $length = null, bool $fixed = false): FluidColumnOptions |
|
|
106
|
+ public function binary(? string $length = null, bool $fixed = false) : FluidColumnOptions |
|
107
|
107
|
{ |
|
108
|
108
|
$this->column->setType(Type::getType(Type::BINARY)); |
|
109
|
109
|
$this->column->setLength($length); |
|
@@ -211,7 +211,7 @@ discard block |
|
|
block discarded – undo |
|
211
|
211
|
return $this->getOptions(); |
|
212
|
212
|
} |
|
213
|
213
|
|
|
214
|
|
- public function references(string $tableName, ?string $constraintName = null, string $onUpdate = 'RESTRICT', string $onDelete = 'RESTRICT'): FluidColumnOptions |
|
|
214
|
+ public function references(string $tableName, ? string $constraintName = null, string $onUpdate = 'RESTRICT', string $onDelete = 'RESTRICT') : FluidColumnOptions |
|
215
|
215
|
{ |
|
216
|
216
|
$table = $this->fluidSchema->getDbalSchema()->getTable($tableName); |
|
217
|
217
|
|
Please login to merge, or discard this patch.