Skip to content

Commit d246707

Browse files
committed
Merge pull request #323 from Soullivaneuh/patch-1
Add return fixer
2 parents 832b7be + dc2c8f6 commit d246707

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

.styleci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ preset: psr2
22

33
enabled:
44
- long_array_syntax
5+
- return

lib/Github/Api/Deployment.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ public function updateStatus($username, $repository, $id, array $params)
6767
if (!isset($params['state'])) {
6868
throw new MissingArgumentException(array('state'));
6969
}
70+
7071
return $this->post('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/deployments/'.rawurlencode($id).'/statuses', $params);
7172
}
7273

lib/Github/Api/Repository/Commits.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ public function compare($username, $repository, $base, $head, $mediaType = null)
2121
if (null !== $mediaType) {
2222
$headers['Accept'] = $mediaType;
2323
}
24+
2425
return $this->get('repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/compare/'.rawurlencode($base).'...'.rawurlencode($head), array(), $headers);
2526
}
2627

lib/Github/Api/User.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public function all($id = null)
3939
if (!is_int($id)) {
4040
return $this->get('users');
4141
}
42+
4243
return $this->get('users?since=' . rawurldecode($id));
4344
}
4445

0 commit comments

Comments
 (0)