"getStyledURL" is now public

This commit is contained in:
Michael 2023-05-26 07:17:09 +00:00
parent 7b02585b97
commit 7e03072082

View File

@ -517,7 +517,7 @@ class BBCode
* @param string $url URL that is about to be reformatted * @param string $url URL that is about to be reformatted
* @return string reformatted link * @return string reformatted link
*/ */
private static function getStyledURL(string $url): string public static function getStyledURL(string $url): string
{ {
$parts = parse_url($url); $parts = parse_url($url);
$scheme = $parts['scheme'] . '://'; $scheme = $parts['scheme'] . '://';