From ab3628ecb8d239cb7e9a3b2b614cbfc9d49472c6 Mon Sep 17 00:00:00 2001 From: TheWitness Date: Sun, 11 Oct 2020 15:42:02 -0400 Subject: [PATCH] Third argument to array_rekey is mixed --- lib/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.php b/lib/functions.php index 8019583ced..7b8c14d222 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -1134,7 +1134,7 @@ function force_session_data() { * * @return mixed the modified array */ -function array_rekey($array, $key, $key_value) { +function array_rekey(array $array, string $key, mixed $key_value): array { $ret_array = array(); if (is_array($array)) {