Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
$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);
$xpath = new DOMXPath($doc);
* Parse XML string
*
* @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
*/
public static function parseString(string $s, bool $suppress_log = false)