spelling: suppressing
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
45225c07f5
commit
aa9ff41311
|
@ -503,7 +503,7 @@ class Page implements ArrayAccess
|
||||||
|
|
||||||
$content = mb_convert_encoding($this->page["content"], 'HTML-ENTITIES', "UTF-8");
|
$content = mb_convert_encoding($this->page["content"], 'HTML-ENTITIES', "UTF-8");
|
||||||
|
|
||||||
/// @TODO one day, kill those error-surpressing @ stuff, or PHP should ban it
|
/// @TODO one day, kill those error-suppressing @ stuff, or PHP should ban it
|
||||||
@$doc->loadHTML($content);
|
@$doc->loadHTML($content);
|
||||||
|
|
||||||
$xpath = new DOMXPath($doc);
|
$xpath = new DOMXPath($doc);
|
||||||
|
|
|
@ -441,7 +441,7 @@ class XML
|
||||||
* Parse XML string
|
* Parse XML string
|
||||||
*
|
*
|
||||||
* @param string $s XML string to parse into object
|
* @param string $s XML string to parse into object
|
||||||
* @param boolean $suppress_log Whether to supressing logging
|
* @param boolean $suppress_log Whether to suppressing logging
|
||||||
* @return SimpleXMLElement|bool SimpleXMLElement or false on failure
|
* @return SimpleXMLElement|bool SimpleXMLElement or false on failure
|
||||||
*/
|
*/
|
||||||
public static function parseString(string $s, bool $suppress_log = false)
|
public static function parseString(string $s, bool $suppress_log = false)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user