Replce array_first_key() with array_key_first(), etc.

This commit is contained in:
Kijin Sung 2025-07-12 12:24:20 +09:00
parent 1c92b1baf5
commit 4193edde25
7 changed files with 12 additions and 12 deletions

View file

@ -608,7 +608,7 @@ class Router
return false;
}
arsort($reordered_routes);
$best_route = array_first_key($reordered_routes);
$best_route = array_key_first($reordered_routes);
return $best_route;
}
}