Refacotring create pull request class

Use 2 spaces for indentation in a hash, relative to the first position after the preceding left parenthesis.<br>Redundant `self` detected.