1
0
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:
Aidan Woods
2019-02-16 12:37:22 +00:00
parent f83ee87902
commit 3c0b528d54
24 changed files with 27 additions and 23 deletions

View File

@@ -23,7 +23,7 @@ final class SetextHeader implements AcquisitioningBlock
* @param string $text
* @param 1|2 $level
*/
public function __construct($text, $level)
private function __construct($text, $level)
{
$this->text = $text;
$this->level = $level;