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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user