Third argument to array_rekey is mixed

This commit is contained in:
TheWitness authored and Mark Brugnoli-Vinten committed 2022-11-26 23:54:17 +00:00
1 parent 6763c8eeb3
commit ab3628ecb8
1 file changed
+1 -1
+1 -1
View File
@@ -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)) {