We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33fb56f commit d285fd6Copy full SHA for d285fd6
lib/Github/Api/Organization/Hooks.php
@@ -43,8 +43,7 @@ public function show($organization, $id)
43
*/
44
public function create($organization, array $params)
45
{
46
- if (!isset($params['name'], $params['config']))
47
- {
+ if (!isset($params['name'], $params['config'])) {
48
throw new MissingArgumentException(array('name', 'config'));
49
}
50
@@ -63,8 +62,7 @@ public function create($organization, array $params)
63
62
64
public function update($organization, $id, array $params)
65
66
- if (!isset($params['config']))
67
+ if (!isset($params['config'])) {
68
throw new MissingArgumentException(array('config'));
69
70
0 commit comments