X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FUtil%2FParseUrl.php;h=33828848391410a843475080905a30d41af1eaa7;hb=e02c475c9e98f27f631bd245592f1641c181db72;hp=9d19a4ebac9e02aade552216f4bbfc23f9727f21;hpb=3fcafd1d5019251fed40a1ac4fa34402d22796dd;p=friendica.git diff --git a/src/Util/ParseUrl.php b/src/Util/ParseUrl.php index 9d19a4ebac..3382884839 100644 --- a/src/Util/ParseUrl.php +++ b/src/Util/ParseUrl.php @@ -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;