mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
PHP < 7 compat
This commit is contained in:
parent
c49d40027f
commit
cb211a88a8
@ -27,7 +27,9 @@ final class Parsedown
|
||||
|
||||
public function __construct(StateBearer $StateBearer = null)
|
||||
{
|
||||
$this->State = ($StateBearer ?: new State)->state();
|
||||
$StateBearer = $StateBearer ?: new State;
|
||||
|
||||
$this->State = $StateBearer->state();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user