Skip to content

Commit

Permalink
revert parameter $indexName in column method unique
Browse files Browse the repository at this point in the history
Signed-off-by: Dorian Savina <[email protected]>
  • Loading branch information
dsavina committed Jan 6, 2021
1 parent 64d63f6 commit 3ebde41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
],
"require": {
"php": ">=7.1",
"thecodingmachine/dbal-fluid-schema-builder": "^1.6",
"thecodingmachine/dbal-fluid-schema-builder": "^1.6.1",
"doctrine/dbal": "^2.5"
},
"require-dev": {
Expand Down
4 changes: 2 additions & 2 deletions src/TdbmFluidColumnOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ public function null(): self
*
* @return self
*/
public function unique(?string $indexName = null): self
public function unique(): self
{
$this->fluidColumnOptions->unique($indexName);
$this->fluidColumnOptions->unique();
return $this;
}

Expand Down

0 comments on commit 3ebde41

Please sign in to comment.