Passed
Push — master ( 7283a7...fd6b42 )
by Adam
02:20
created
src/Response/PermissionsResponse.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($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/EnvironmentsResponse.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($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.
src/Response/InvitationsResponse.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($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/RolesResponse.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($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
     }
Please login to merge, or discard this patch.
src/Response/OrganizationsResponse.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($organizations)
17 17
     {
18
-        parent::__construct(array_map(function ($organization) {
18
+        parent::__construct(array_map(function($organization) {
19 19
             return new OrganizationResponse($organization);
20 20
         }, $organizations), self::ARRAY_AS_PROPS);
21 21
     }
Please login to merge, or discard this patch.
src/Connector/Connector.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 
70 70
         return $this->provider->getAuthenticatedRequest(
71 71
             $verb,
72
-            self::BASE_URI . $path,
72
+            self::BASE_URI.$path,
73 73
             $this->accessToken
74 74
         );
75 75
     }
Please login to merge, or discard this patch.
src/Response/LogForwardingDestinationsResponse.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($destinations)
17 17
     {
18
-        parent::__construct(array_map(function ($destination) {
18
+        parent::__construct(array_map(function($destination) {
19 19
             return new LogForwardingDestinationResponse($destination);
20 20
         }, $destinations), self::ARRAY_AS_PROPS);
21 21
     }
Please login to merge, or discard this patch.
src/Response/NotificationsResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
      */
15 15
     public function __construct($notifications)
16 16
     {
17
-        parent::__construct(array_map(function ($notification) {
17
+        parent::__construct(array_map(function($notification) {
18 18
             return new NotificationResponse($notification);
19 19
         }, $notifications), self::ARRAY_AS_PROPS);
20 20
     }
Please login to merge, or discard this patch.
src/Endpoints/Code.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
      * @param string $branch
50 50
      * @return OperationResponse
51 51
      */
52
-    public function switch($environmentUuid, $branch)
52
+    public function switch ($environmentUuid, $branch)
53 53
     {
54 54
 
55 55
         $options = [
Please login to merge, or discard this patch.