]> git.mxchange.org Git - friendica.git/commitdiff
spelling: suppressing
authorJosh Soref <2119212+jsoref@users.noreply.github.com>
Wed, 22 Mar 2023 04:08:36 +0000 (00:08 -0400)
committerJosh Soref <2119212+jsoref@users.noreply.github.com>
Sun, 26 Mar 2023 20:14:16 +0000 (16:14 -0400)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
src/App/Page.php
src/Util/XML.php

index 8bb60fa24298fac60508d1c42e41f2c4cd063296..549ff3f0faf580a78297859223bc413aa17e2222 100644 (file)
@@ -503,7 +503,7 @@ class Page implements ArrayAccess
 
                        $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);
index 321e2e96a611e8bb07f706575f01274d7b6bd79e..58a6c568ff1a98c5a4fc84caae4bcea82eea9c73 100644 (file)
@@ -441,7 +441,7 @@ class XML
         * 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)