Update UserEventResolver.php