Refacotring create pull request class

Line is too long. [215/80]