Refacotring create pull request class

Line is too long. [124/80]