Skip to content

Commit 666b409

Browse files
API Improve type safety for Controller::join_links() (#11426)
1 parent 6bb9a0b commit 666b409

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Control/Controller.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -627,9 +627,8 @@ public function redirectedTo()
627627
* Caution: All parameters are expected to be URI-encoded already.
628628
*
629629
* @param string|array $arg One or more link segments, or list of link segments as an array
630-
* @return string
631630
*/
632-
public static function join_links($arg = null)
631+
public static function join_links($arg = null): string
633632
{
634633
if (func_num_args() === 1 && is_array($arg)) {
635634
$args = $arg;

0 commit comments

Comments
 (0)