Skip to content

Commit 995e1cb

Browse files
omarlopesinom1guelpf
authored andcommitted
Apply codding standards from styleci.
1 parent 352d3e4 commit 995e1cb

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

lib/Gitlab/Api/Projects.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ public function hook($project_id, $hook_id)
401401
*/
402402
public function users($project_id, array $parameters = [])
403403
{
404-
return $this->get($this->getProjectPath($project_id, 'users'), $parameters);
404+
return $this->get($this->getProjectPath($project_id, 'users'), $parameters);
405405
}
406406

407407
/**

test/Gitlab/Tests/Api/ProjectsTest.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -294,15 +294,15 @@ public function shouldGetProjectIssues()
294294
*/
295295
public function shouldGetProjectUsers()
296296
{
297-
$expectedArray = $this->getProjectUsersExpectedArray();
297+
$expectedArray = $this->getProjectUsersExpectedArray();
298298

299-
$api = $this->getApiMock();
300-
$api->expects($this->once())
299+
$api = $this->getApiMock();
300+
$api->expects($this->once())
301301
->method('get')
302302
->with('projects/1/users')
303303
->will($this->returnValue($expectedArray));
304304

305-
$this->assertEquals($expectedArray, $api->users(1));
305+
$this->assertEquals($expectedArray, $api->users(1));
306306
}
307307

308308
/**
@@ -402,8 +402,9 @@ public function getProjectIssuesExpectedArray()
402402
*
403403
* @return array
404404
*/
405-
public function getProjectUsersExpectedArray() {
406-
return [
405+
public function getProjectUsersExpectedArray()
406+
{
407+
return [
407408
[
408409
'id' => 1,
409410
'name' => 'John Doe',

0 commit comments

Comments
 (0)