@@ -65,7 +65,7 @@ |
||
65 | 65 | return $this; |
66 | 66 | } |
67 | 67 | |
68 | - public function primaryKey(array $columnNames, ?string $indexName = null): FluidTable |
|
68 | + public function primaryKey(array $columnNames, ?string $indexName = null) : FluidTable |
|
69 | 69 | { |
70 | 70 | $newIndexName = $indexName ?: false; |
71 | 71 |
@@ -86,7 +86,7 @@ |
||
86 | 86 | return $this; |
87 | 87 | } |
88 | 88 | |
89 | - public function primaryKey(?string $indexName = null): FluidColumnOptions |
|
89 | + public function primaryKey(?string $indexName = null) : FluidColumnOptions |
|
90 | 90 | { |
91 | 91 | $newIndexName = $indexName ?: false; |
92 | 92 |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | return $this->getOptions(); |
81 | 81 | } |
82 | 82 | |
83 | - public function string(?int $length = null, bool $fixed = false): FluidColumnOptions |
|
83 | + public function string(?int $length = null, bool $fixed = false) : FluidColumnOptions |
|
84 | 84 | { |
85 | 85 | $this->column->setType(Type::getType(Type::STRING)); |
86 | 86 | $this->column->setLength($length); |
@@ -103,7 +103,7 @@ discard block |
||
103 | 103 | /** |
104 | 104 | * From Doctrine DBAL 2.4+. |
105 | 105 | */ |
106 | - public function binary(?int $length = null, bool $fixed = false): FluidColumnOptions |
|
106 | + public function binary(?int $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 |
||
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 | $tableName = $this->namingStrategy->quoteIdentifier($tableName); |
217 | 217 |