mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Default construct to empty text
This commit is contained in:
parent
f85f6cbd40
commit
f8aa618f3d
@ -11,7 +11,7 @@ final class Text implements Renderable
|
|||||||
/** @var string */
|
/** @var string */
|
||||||
private $text;
|
private $text;
|
||||||
|
|
||||||
public function __construct(string $text)
|
public function __construct(string $text = '')
|
||||||
{
|
{
|
||||||
$this->text = $text;
|
$this->text = $text;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user