Refacotring create pull request class

Line is too long. [126/80]<br>Redundant curly braces around a hash parameter.