Refacotring create pull request class

Line is too long. [118/80]