aboutsummaryrefslogtreecommitdiff
path: root/lib/Minz/Request.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-01-08 13:26:09 +0100
committerGravatar GitHub <noreply@github.com> 2025-01-08 13:26:09 +0100
commit50adb559823f935582f3ed308b8d4352c5f216ed (patch)
tree74f09efadfcaf28f82505e791e267596f4026053 /lib/Minz/Request.php
parentfa701b39f3775ac4250a82fabcec8970b446789b (diff)
Add some missing PHP native types (#7191)
* Add some missing PHP native types Replaces https://github.com/FreshRSS/FreshRSS/pull/7184 * Clean some types
Diffstat (limited to 'lib/Minz/Request.php')
-rw-r--r--lib/Minz/Request.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Minz/Request.php b/lib/Minz/Request.php
index f441bcabf..3304ad480 100644
--- a/lib/Minz/Request.php
+++ b/lib/Minz/Request.php
@@ -432,7 +432,7 @@ class Minz_Request {
* @param bool $redirect If true, uses an HTTP redirection, and if false (default), performs an internal dispatcher redirection.
* @throws Minz_ConfigurationException
*/
- public static function forward($url = [], bool $redirect = false): void {
+ public static function forward(array $url = [], bool $redirect = false): void {
if (empty(Minz_Request::originalRequest())) {
self::$originalRequest = $url;
}