From: Vincent Vanwaelscappel Date: Mon, 18 Sep 2023 16:31:51 +0000 (+0200) Subject: wait #6288 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=501e7e0ca4f4b3be51282b98bc6946bb5c547158;p=fluidbook_tools.git wait #6288 --- diff --git a/src/Links/CustomLink.php b/src/Links/CustomLink.php index 7e62d46..d80c8ab 100644 --- a/src/Links/CustomLink.php +++ b/src/Links/CustomLink.php @@ -12,8 +12,7 @@ class CustomLink extends NormalLink public function getURL() { - $res = static::_getURL($this->to); - return $res; + return static::_getURL($this->to); } public function getTarget() @@ -38,7 +37,7 @@ class CustomLink extends NormalLink return new CustomLink($id, $init, $compiler); } - protected static function _getURL($ref, $type = '', $default = null) + public static function _getURL($ref, $type = '', $default = null) { $ref = str_replace('custom:', '', $ref); $e = explode(':', $ref, 2);