Skip to content

Commit 3ebde41

Browse files
committed
revert parameter $indexName in column method unique
Signed-off-by: Dorian Savina <d.savina@thecodingmachine.com>
1 parent 64d63f6 commit 3ebde41

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
],
1111
"require": {
1212
"php": ">=7.1",
13-
"thecodingmachine/dbal-fluid-schema-builder": "^1.6",
13+
"thecodingmachine/dbal-fluid-schema-builder": "^1.6.1",
1414
"doctrine/dbal": "^2.5"
1515
},
1616
"require-dev": {

src/TdbmFluidColumnOptions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ public function null(): self
5151
*
5252
* @return self
5353
*/
54-
public function unique(?string $indexName = null): self
54+
public function unique(): self
5555
{
56-
$this->fluidColumnOptions->unique($indexName);
56+
$this->fluidColumnOptions->unique();
5757
return $this;
5858
}
5959

0 commit comments

Comments
 (0)