Add public keyword to methods
[MAILPOET-2413]
This commit is contained in:
@@ -5,11 +5,11 @@ namespace MailPoet\Util\pQuery;
|
||||
class DomNode extends \pQuery\DomNode {
|
||||
public $childClass = 'MailPoet\Util\pQuery\DomNode';
|
||||
|
||||
function getInnerText() {
|
||||
public function getInnerText() {
|
||||
return html_entity_decode($this->toString(true, true, 1), ENT_NOQUOTES, 'UTF-8');
|
||||
}
|
||||
|
||||
function getOuterText() {
|
||||
public function getOuterText() {
|
||||
return html_entity_decode($this->toString(), ENT_NOQUOTES, 'UTF-8');
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user