* Add a way to disable text wrapping (Fix #247) * Fix PHPDoc boolean notation * Fix PHPDoc param notation
This commit is contained in:
1 parent
a07a96f523
commit
ddb7365a79
4 files changed
+20
-11
No files matched your search
@@ -109,15 +109,15 @@ class StyleBuilder
|
||||
}
|
||||
|
||||
/**
|
||||
* Makes the text wrap in the cell if it's too long or
|
||||
* on multiple lines.
|
||||
* Makes the text wrap in the cell if requested
|
||||
*
|
||||
* @api
|
||||
* @param bool $shouldWrap Should the text be wrapped
|
||||
* @return StyleBuilder
|
||||
*/
|
||||
public function setShouldWrapText()
|
||||
public function setShouldWrapText($shouldWrap = true)
|
||||
{
|
||||
$this->style->setShouldWrapText();
|
||||
$this->style->setShouldWrapText($shouldWrap);
|
||||
return $this;
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ class StyleBuilder
|
||||
*
|
||||
* @api
|
||||
* @param string $color ARGB color (@see Color)
|
||||
* @return StyleBuilder
|
||||
* @return StyleBuilder
|
||||
*/
|
||||
public function setBackgroundColor($color)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user