From 177c61d19dd98c151e8859d137a8bcddb608b05f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=A9grier?= Date: Mon, 21 Oct 2019 12:17:43 +0200 Subject: [PATCH] Making text length configurable --- src/TdbmFluidColumn.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/TdbmFluidColumn.php b/src/TdbmFluidColumn.php index 4a43f11..c25d616 100644 --- a/src/TdbmFluidColumn.php +++ b/src/TdbmFluidColumn.php @@ -70,9 +70,9 @@ public function string(?int $length = null, bool $fixed = false): TdbmFluidColum return $this->getOptions($options); } - public function text(): TdbmFluidColumnOptions + public function text(?int $length = null): TdbmFluidColumnOptions { - $options = $this->fluidColumn->text(); + $options = $this->fluidColumn->text($length); return $this->getOptions($options); }