@@ -10,9 +10,9 @@ |
||
10 | 10 | { |
11 | 11 | |
12 | 12 | /** |
13 | - * MembersResponse constructor. |
|
14 | - * @param array $members |
|
15 | - */ |
|
13 | + * MembersResponse constructor. |
|
14 | + * @param array $members |
|
15 | + */ |
|
16 | 16 | public function __construct($invitations) |
17 | 17 | { |
18 | 18 | parent::__construct(array_map(function ($invitation) { |
@@ -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 | } |
@@ -10,9 +10,9 @@ |
||
10 | 10 | { |
11 | 11 | |
12 | 12 | /** |
13 | - * MembersResponse constructor. |
|
14 | - * @param array $members |
|
15 | - */ |
|
13 | + * MembersResponse constructor. |
|
14 | + * @param array $members |
|
15 | + */ |
|
16 | 16 | public function __construct($members) |
17 | 17 | { |
18 | 18 | parent::__construct(array_map(function ($member) { |
@@ -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($tasks) |
17 | 17 | { |
18 | - parent::__construct(array_map(function ($task) { |
|
18 | + parent::__construct(array_map(function($task) { |
|
19 | 19 | return new TaskResponse($task); |
20 | 20 | }, $tasks), self::ARRAY_AS_PROPS); |
21 | 21 | } |
@@ -10,9 +10,9 @@ |
||
10 | 10 | { |
11 | 11 | |
12 | 12 | /** |
13 | - * PermissionsResponse constructor. |
|
14 | - * @param array $permissions |
|
15 | - */ |
|
13 | + * PermissionsResponse constructor. |
|
14 | + * @param array $permissions |
|
15 | + */ |
|
16 | 16 | public function __construct($permissions) |
17 | 17 | { |
18 | 18 | parent::__construct(array_map(function ($permission) { |
@@ -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($domains) |
17 | 17 | { |
18 | - parent::__construct(array_map(function ($domain) { |
|
18 | + parent::__construct(array_map(function($domain) { |
|
19 | 19 | return new DomainResponse($domain); |
20 | 20 | }, $domains), self::ARRAY_AS_PROPS); |
21 | 21 | } |
@@ -10,9 +10,9 @@ |
||
10 | 10 | { |
11 | 11 | |
12 | 12 | /** |
13 | - * TeamsResponse constructor. |
|
14 | - * @param array $teams |
|
15 | - */ |
|
13 | + * TeamsResponse constructor. |
|
14 | + * @param array $teams |
|
15 | + */ |
|
16 | 16 | public function __construct($teams) |
17 | 17 | { |
18 | 18 | parent::__construct(array_map(function ($team) { |
@@ -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($servers) |
17 | 17 | { |
18 | - parent::__construct(array_map(function ($server) { |
|
18 | + parent::__construct(array_map(function($server) { |
|
19 | 19 | return new ServerResponse($server); |
20 | 20 | }, $servers), self::ARRAY_AS_PROPS); |
21 | 21 | } |
@@ -26,15 +26,15 @@ |
||
26 | 26 | */ |
27 | 27 | public function __construct($server) |
28 | 28 | { |
29 | - $this->id = $server->id; |
|
30 | - $this->name = $server->name; |
|
31 | - $this->hostname = $server->hostname; |
|
32 | - $this->ip = $server->ip; |
|
33 | - $this->status = $server->status; |
|
34 | - $this->region = $server->region; |
|
35 | - $this->roles = $server->roles; |
|
36 | - $this->amiType = $server->ami_type; |
|
37 | - $this->configuration = $server->configuration; |
|
38 | - $this->flags = $server->flags; |
|
29 | + $this->id = $server->id; |
|
30 | + $this->name = $server->name; |
|
31 | + $this->hostname = $server->hostname; |
|
32 | + $this->ip = $server->ip; |
|
33 | + $this->status = $server->status; |
|
34 | + $this->region = $server->region; |
|
35 | + $this->roles = $server->roles; |
|
36 | + $this->amiType = $server->ami_type; |
|
37 | + $this->configuration = $server->configuration; |
|
38 | + $this->flags = $server->flags; |
|
39 | 39 | } |
40 | 40 | } |
@@ -10,9 +10,9 @@ |
||
10 | 10 | { |
11 | 11 | |
12 | 12 | /** |
13 | - * EnvironmentsResponse constructor. |
|
14 | - * @param array $environments |
|
15 | - */ |
|
13 | + * EnvironmentsResponse constructor. |
|
14 | + * @param array $environments |
|
15 | + */ |
|
16 | 16 | public function __construct($environments) |
17 | 17 | { |
18 | 18 | parent::__construct(array_map(function ($environment) { |
@@ -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 | } |