]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/ParseUrl.php
spelling: calendar
[friendica.git] / src / Util / ParseUrl.php
index 9d19a4ebac9e02aade552216f4bbfc23f9727f21..33828848391410a843475080905a30d41af1eaa7 100644 (file)
@@ -91,7 +91,7 @@ class ParseUrl
        }
 
        /**
-        * Search for chached embeddable data of an url otherwise fetch it
+        * Search for cached embeddable data of an url otherwise fetch it
         *
         * @param string $url         The url of the page which should be scraped
         * @param bool   $do_oembed   The false option is used by the function fetch_oembed()
@@ -646,7 +646,7 @@ class ParseUrl
                $arr_tags = str_getcsv($string);
                if (count($arr_tags)) {
                        // add the # sign to every tag
-                       array_walk($arr_tags, ['self', 'arrAddHashes']);
+                       array_walk($arr_tags, [self::class, 'arrAddHashes']);
 
                        return $arr_tags;
                }
@@ -686,7 +686,7 @@ class ParseUrl
        {
                $urlarr = parse_url($url);
 
-               // If the url does allready have an scheme
+               // If the url does already have an scheme
                // we can stop the process here
                if (isset($urlarr['scheme'])) {
                        return $url;