Update BaseRequest.php