Implement getPullRequestStates method