From 666b4094b47f212b0130bcf10d3f86036e4e34ed Mon Sep 17 00:00:00 2001 From: Guy Sartorelli <36352093+GuySartorelli@users.noreply.github.com> Date: Thu, 17 Oct 2024 17:15:24 +1300 Subject: [PATCH] API Improve type safety for Controller::join_links() (#11426) --- src/Control/Controller.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Control/Controller.php b/src/Control/Controller.php index d1abe672f..564457b0e 100644 --- a/src/Control/Controller.php +++ b/src/Control/Controller.php @@ -627,9 +627,8 @@ class Controller extends RequestHandler implements TemplateGlobalProvider * Caution: All parameters are expected to be URI-encoded already. * * @param string|array $arg One or more link segments, or list of link segments as an array - * @return string */ - public static function join_links($arg = null) + public static function join_links($arg = null): string { if (func_num_args() === 1 && is_array($arg)) { $args = $arg;