Upgrade PHPStan level to 3
[MAILPOET-1915]
This commit is contained in:
@ -11,11 +11,12 @@ class pQuery extends \pQuery {
|
||||
}
|
||||
|
||||
class Html5Parser extends \pQuery\HtmlParser {
|
||||
var $root = 'MailPoet\Util\pQuery\DomNode';
|
||||
/** @var string|\pQuery\DomNode */
|
||||
public $root = 'MailPoet\Util\pQuery\DomNode';
|
||||
}
|
||||
|
||||
class DomNode extends \pQuery\DomNode {
|
||||
var $childClass = 'MailPoet\Util\pQuery\DomNode';
|
||||
public $childClass = 'MailPoet\Util\pQuery\DomNode';
|
||||
|
||||
function getInnerText() {
|
||||
return html_entity_decode($this->toString(true, true, 1), ENT_NOQUOTES, 'UTF-8');
|
||||
|
Reference in New Issue
Block a user