Skip to content

Commit

Permalink
Merge pull request #17 from moufmouf/text_length
Browse files Browse the repository at this point in the history
Making text length configurable
  • Loading branch information
moufmouf authored Oct 21, 2019
2 parents 02167b0 + 177c61d commit 3a4e7e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TdbmFluidColumn.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 3a4e7e5

Please sign in to comment.