Update ParamsResolver.php