mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
setter variables should not be private
This commit is contained in:
parent
21a3e8790a
commit
bdf0ef024e
@ -53,8 +53,6 @@ class Parsedown
|
||||
# Setters
|
||||
#
|
||||
|
||||
private $breaksEnabled;
|
||||
|
||||
function setBreaksEnabled($breaksEnabled)
|
||||
{
|
||||
$this->breaksEnabled = $breaksEnabled;
|
||||
@ -62,7 +60,7 @@ class Parsedown
|
||||
return $this;
|
||||
}
|
||||
|
||||
private $markupEscaped;
|
||||
protected $breaksEnabled;
|
||||
|
||||
function setMarkupEscaped($markupEscaped)
|
||||
{
|
||||
@ -71,7 +69,7 @@ class Parsedown
|
||||
return $this;
|
||||
}
|
||||
|
||||
private $urlsLinked = true;
|
||||
protected $markupEscaped;
|
||||
|
||||
function setUrlsLinked($urlsLinked)
|
||||
{
|
||||
@ -80,6 +78,8 @@ class Parsedown
|
||||
return $this;
|
||||
}
|
||||
|
||||
protected $urlsLinked = true;
|
||||
|
||||
#
|
||||
# Lines
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user