Skip to content

Commit b163de2

Browse files
committed
fixes
1 parent 329c72f commit b163de2

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/Github/Api/Environment.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ public function show($username, $repository, $name)
5555
*/
5656
public function createOrUpdate($username, $repository, $name, array $params = [])
5757
{
58-
5958
return $this->put('/repos/'.rawurlencode($username).'/'.rawurlencode($repository).'/environments', $params);
6059
}
6160

test/Github/Tests/Api/EnvironmentTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace Github\Tests\Api;
44

5-
use Github\Exception\MissingArgumentException;
6-
75
class EnvironmentTest extends TestCase
86
{
97
/**
@@ -32,6 +30,7 @@ public function shouldGetAllEnvironments()
3230

3331
$api->all('KnpLabs', 'php-github-api');
3432
}
33+
3534
/**
3635
* @test
3736
*/

0 commit comments

Comments
 (0)