Passed
Branch tests (ee4d64)
by Adam
04:47
created
src/Response/InvitationsResponse.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Response/MembersResponse.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Response/TasksResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Response/PermissionsResponse.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Response/DomainsResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Response/TeamsResponse.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Response/ServersResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.
src/Response/ServerResponse.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -26,15 +26,15 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/Response/EnvironmentsResponse.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
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
     }
Please login to merge, or discard this patch.