1
0
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:
Emanuil Rusev 2015-01-18 19:38:57 +02:00
parent 21a3e8790a
commit bdf0ef024e

View File

@ -53,8 +53,6 @@ class Parsedown
# Setters # Setters
# #
private $breaksEnabled;
function setBreaksEnabled($breaksEnabled) function setBreaksEnabled($breaksEnabled)
{ {
$this->breaksEnabled = $breaksEnabled; $this->breaksEnabled = $breaksEnabled;
@ -62,7 +60,7 @@ class Parsedown
return $this; return $this;
} }
private $markupEscaped; protected $breaksEnabled;
function setMarkupEscaped($markupEscaped) function setMarkupEscaped($markupEscaped)
{ {
@ -71,7 +69,7 @@ class Parsedown
return $this; return $this;
} }
private $urlsLinked = true; protected $markupEscaped;
function setUrlsLinked($urlsLinked) function setUrlsLinked($urlsLinked)
{ {
@ -80,6 +78,8 @@ class Parsedown
return $this; return $this;
} }
protected $urlsLinked = true;
# #
# Lines # Lines
# #