Skip to content

Commit d285fd6

Browse files
committed
Respect PSR-2
1 parent 33fb56f commit d285fd6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/Github/Api/Organization/Hooks.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ public function show($organization, $id)
4343
*/
4444
public function create($organization, array $params)
4545
{
46-
if (!isset($params['name'], $params['config']))
47-
{
46+
if (!isset($params['name'], $params['config'])) {
4847
throw new MissingArgumentException(array('name', 'config'));
4948
}
5049

@@ -63,8 +62,7 @@ public function create($organization, array $params)
6362
*/
6463
public function update($organization, $id, array $params)
6564
{
66-
if (!isset($params['config']))
67-
{
65+
if (!isset($params['config'])) {
6866
throw new MissingArgumentException(array('config'));
6967
}
7068

0 commit comments

Comments
 (0)