Skip to content

Commit 3a4e7e5

Browse files
authored
Merge pull request #17 from moufmouf/text_length
Making text length configurable
2 parents 02167b0 + 177c61d commit 3a4e7e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/TdbmFluidColumn.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ public function string(?int $length = null, bool $fixed = false): TdbmFluidColum
7070
return $this->getOptions($options);
7171
}
7272

73-
public function text(): TdbmFluidColumnOptions
73+
public function text(?int $length = null): TdbmFluidColumnOptions
7474
{
75-
$options = $this->fluidColumn->text();
75+
$options = $this->fluidColumn->text($length);
7676
return $this->getOptions($options);
7777
}
7878

0 commit comments

Comments
 (0)