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:
@@ -19,7 +19,7 @@ final class SpecialCharacter implements Inline
|
||||
/**
|
||||
* @param string $charCodeHtml
|
||||
*/
|
||||
public function __construct($charCodeHtml)
|
||||
private function __construct($charCodeHtml)
|
||||
{
|
||||
$this->charCodeHtml = $charCodeHtml;
|
||||
$this->width = \strlen($charCodeHtml) + 2;
|
||||
|
||||
Reference in New Issue
Block a user