aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Request.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Minz/Request.php')
-rw-r--r--lib/Minz/Request.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Minz/Request.php b/lib/Minz/Request.php
index 1f15730fb..fcece464b 100644
--- a/lib/Minz/Request.php
+++ b/lib/Minz/Request.php
@@ -44,7 +44,7 @@ class Minz_Request {
* @return mixed value of the parameter
* @deprecated use typed versions instead
*/
- public static function param(string $key, $default = false, bool $specialchars = false) {
+ public static function param(string $key, mixed $default = false, bool $specialchars = false): mixed {
if (isset(self::$params[$key])) {
$p = self::$params[$key];
if (is_string($p) || is_array($p)) {
@@ -156,7 +156,7 @@ class Minz_Request {
}
/** @return array{c?:string,a?:string,params?:array<string,mixed>} */
- public static function originalRequest() {
+ public static function originalRequest(): array {
return self::$originalRequest;
}