aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/Minz/Url.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Minz/Url.php b/lib/Minz/Url.php
index f388054fc..f849ec6b6 100644
--- a/lib/Minz/Url.php
+++ b/lib/Minz/Url.php
@@ -170,11 +170,11 @@ class Minz_Url {
}
}
-function _url(string $controller, string $action, int|string ...$args): string|false {
+function _url(string $controller, string $action, int|string ...$args): string {
$nb_args = count($args);
if ($nb_args % 2 !== 0) {
- return false;
+ return '';
}
$params = [];