mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
Constructor shouldn't be part of public API
This commit is contained in:
@@ -18,7 +18,7 @@ final class PlainText implements Inline
|
||||
/**
|
||||
* @param string $text
|
||||
*/
|
||||
public function __construct($text)
|
||||
private function __construct($text)
|
||||
{
|
||||
$this->text = $text;
|
||||
$this->width = \strlen($text);
|
||||
|
||||
Reference in New Issue
Block a user