From 3ebde412375a46a6987df4afbb891d15a3bf3615 Mon Sep 17 00:00:00 2001 From: Dorian Savina Date: Wed, 6 Jan 2021 16:24:06 +0100 Subject: [PATCH] revert parameter $indexName in column method `unique` Signed-off-by: Dorian Savina --- composer.json | 2 +- src/TdbmFluidColumnOptions.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 24bd1d1..7ac14f7 100644 --- a/composer.json +++ b/composer.json @@ -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": { diff --git a/src/TdbmFluidColumnOptions.php b/src/TdbmFluidColumnOptions.php index 50de35f..81ae8e5 100644 --- a/src/TdbmFluidColumnOptions.php +++ b/src/TdbmFluidColumnOptions.php @@ -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; }