mirror of
https://github.com/Cacti/cacti.git
synced 2026-12-03 05:41:17 +09:00
Third argument to array_rekey is mixed
This commit is contained in:
1 parent
6763c8eeb3
commit
ab3628ecb8
1 file changed
+1
-1
+1
-1
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user