Permalink
Browse files

Adjusted Coding Standards compliancy, ref :

  • Loading branch information...
1 parent c0a30f2 commit 0ad39f57342e8935ed385133d60ec758f380efb7 Nicolas Pastorino committed Jun 9, 2011
Showing with 3 additions and 8 deletions.
  1. +3 −8 lib/Github/Api/PullRequest.php
@@ -61,25 +61,20 @@ public function create($username, $repo, $base, $head, $title = null, $body = nu
'pull[head]' => $head
);
- if ( $title !== null and $body !== null )
- {
+ if ( $title !== null and $body !== null ) {
$postParameters = array_merge( $postParameters,
array(
'pull[title]' => $title,
'pull[body]' => $body
)
);
- }
- elseif ( $issueId !== null )
- {
+ } elseif ( $issueId !== null ) {
$postParameters = array_merge( $postParameters,
array(
'pull[issue]' => $issueId
)
);
- }
- else
- {
+ } else {
// @FIXME : Exception required here.
return null;
}

0 comments on commit 0ad39f5

Please sign in to comment.