1
0
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:
Aidan Woods 2018-11-11 18:33:52 +00:00
parent f85f6cbd40
commit f8aa618f3d
No known key found for this signature in database
GPG Key ID: 9A6A8EFAA512BBB9

View File

@ -11,7 +11,7 @@ final class Text implements Renderable
/** @var string */
private $text;
public function __construct(string $text)
public function __construct(string $text = '')
{
$this->text = $text;
}