]> _ Git - fluidbook_tools.git/commitdiff
wait #6288
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 18 Sep 2023 16:31:51 +0000 (18:31 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 18 Sep 2023 16:31:51 +0000 (18:31 +0200)
src/Links/CustomLink.php

index 7e62d46c33db4fe97ef23d4154e7c679cc0931a8..d80c8ab3fb85f025b249e694b7c9d84215a0bc0c 100644 (file)
@@ -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);