Refacotring create pull request class

Line is too long. [114/80]