@@ -73,7 +73,7 @@ |
||
73 | 73 | public function makeRequest(string $verb, string $path, array $query = [], array $options = []) |
74 | 74 | { |
75 | 75 | try { |
76 | - $response = $this->client->$verb(self::BASE_URI . $path, $options); |
|
76 | + $response = $this->client->$verb(self::BASE_URI.$path, $options); |
|
77 | 77 | } catch (ClientException $e) { |
78 | 78 | print $e->getMessage(); |
79 | 79 | $response = $e->getResponse(); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | public function __construct($members) |
17 | 17 | { |
18 | - parent::__construct(array_map(function ($member) { |
|
18 | + parent::__construct(array_map(function($member) { |
|
19 | 19 | return new MemberResponse($member); |
20 | 20 | }, $members), self::ARRAY_AS_PROPS); |
21 | 21 | } |
@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | public function __construct($teams) |
17 | 17 | { |
18 | - parent::__construct(array_map(function ($team) { |
|
18 | + parent::__construct(array_map(function($team) { |
|
19 | 19 | return new TeamResponse($team); |
20 | 20 | }, $teams), self::ARRAY_AS_PROPS); |
21 | 21 | } |
@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | public function __construct($permissions) |
17 | 17 | { |
18 | - parent::__construct(array_map(function ($permission) { |
|
18 | + parent::__construct(array_map(function($permission) { |
|
19 | 19 | return new PermissionResponse($permission); |
20 | 20 | }, $permissions), self::ARRAY_AS_PROPS); |
21 | 21 | } |
@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | public function __construct($environments) |
17 | 17 | { |
18 | - parent::__construct(array_map(function ($environment) { |
|
18 | + parent::__construct(array_map(function($environment) { |
|
19 | 19 | return new EnvironmentResponse($environment); |
20 | 20 | }, $environments), self::ARRAY_AS_PROPS); |
21 | 21 | } |
@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | public function __construct($invitations) |
17 | 17 | { |
18 | - parent::__construct(array_map(function ($invitation) { |
|
18 | + parent::__construct(array_map(function($invitation) { |
|
19 | 19 | return new InvitationResponse($invitation); |
20 | 20 | }, $invitations), self::ARRAY_AS_PROPS); |
21 | 21 | } |
@@ -15,7 +15,7 @@ |
||
15 | 15 | */ |
16 | 16 | public function __construct($roles) |
17 | 17 | { |
18 | - parent::__construct(array_map(function ($role) { |
|
18 | + parent::__construct(array_map(function($role) { |
|
19 | 19 | return new RoleResponse($role); |
20 | 20 | }, $roles), self::ARRAY_AS_PROPS); |
21 | 21 | } |