Test Failed
Push — master ( 033694...0d0bd0 )
by PHPLicengine
04:03 queued 01:03
created
lib/PHPLicengine/Service/Organization.php 2 patches
Indentation   +27 added lines, -27 removed lines patch added patch discarded remove patch
@@ -28,49 +28,49 @@
 block discarded – undo
28 28
 
29 29
 class Organization {
30 30
  
31
-      private $url;
32
-      private $api;      
31
+       private $url;
32
+       private $api;      
33 33
       
34
-      public function __construct (ApiInterface $api)
35
-      {
36
-             $this->api = $api;
37
-             $this->url = 'https://api-ssl.bitly.com/v4/organizations';       
38
-      }
34
+       public function __construct (ApiInterface $api)
35
+       {
36
+              $this->api = $api;
37
+              $this->url = 'https://api-ssl.bitly.com/v4/organizations';       
38
+       }
39 39
  
40
-      /*
40
+       /*
41 41
       Retrieve Organizations
42 42
       https://dev.bitly.com/api-reference#getOrganizations
43 43
       */
44
-      public function getOrganizations() 
45
-      {
46
-             return $this->api->get($this->url);
47
-      }
44
+       public function getOrganizations() 
45
+       {
46
+              return $this->api->get($this->url);
47
+       }
48 48
       
49
-      /*
49
+       /*
50 50
       Retrieve Organization Shorten Counts
51 51
       https://dev.bitly.com/api-reference#getOrganizationShortenCounts
52 52
       */
53
-      public function getOrganizationShortenCounts(string $organization_guid, array $params = array()) 
54
-      {
55
-             return $this->api->get($this->url . '/'.$organization_guid.'/shorten_counts', $params);
56
-      }
53
+       public function getOrganizationShortenCounts(string $organization_guid, array $params = array()) 
54
+       {
55
+              return $this->api->get($this->url . '/'.$organization_guid.'/shorten_counts', $params);
56
+       }
57 57
       
58
-      /*
58
+       /*
59 59
       Retrieve an Organization
60 60
       https://dev.bitly.com/api-reference#getOrganization
61 61
       */
62
-      public function getOrganization(string $organization_guid) 
63
-      {
64
-             return $this->api->get($this->url . '/'.$organization_guid);
65
-      }      
62
+       public function getOrganization(string $organization_guid) 
63
+       {
64
+              return $this->api->get($this->url . '/'.$organization_guid);
65
+       }      
66 66
  
67
-      /*
67
+       /*
68 68
       Get Plan Limits
69 69
       https://dev.bitly.com/api-reference#getPlanLimits
70 70
       */
71
-      public function getPlanLimits(string $organization_guid) 
72
-      {
73
-             return $this->api->get($this->url . '/'.$organization_guid."/plan_limits");
74
-      }
71
+       public function getPlanLimits(string $organization_guid) 
72
+       {
73
+              return $this->api->get($this->url . '/'.$organization_guid."/plan_limits");
74
+       }
75 75
  
76 76
 }
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
       private $url;
32 32
       private $api;      
33 33
       
34
-      public function __construct (ApiInterface $api)
34
+      public function __construct(ApiInterface $api)
35 35
       {
36 36
              $this->api = $api;
37 37
              $this->url = 'https://api-ssl.bitly.com/v4/organizations';       
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
       */
53 53
       public function getOrganizationShortenCounts(string $organization_guid, array $params = array()) 
54 54
       {
55
-             return $this->api->get($this->url . '/'.$organization_guid.'/shorten_counts', $params);
55
+             return $this->api->get($this->url.'/'.$organization_guid.'/shorten_counts', $params);
56 56
       }
57 57
       
58 58
       /*
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
       */
62 62
       public function getOrganization(string $organization_guid) 
63 63
       {
64
-             return $this->api->get($this->url . '/'.$organization_guid);
64
+             return $this->api->get($this->url.'/'.$organization_guid);
65 65
       }      
66 66
  
67 67
       /*
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
       */
71 71
       public function getPlanLimits(string $organization_guid) 
72 72
       {
73
-             return $this->api->get($this->url . '/'.$organization_guid."/plan_limits");
73
+             return $this->api->get($this->url.'/'.$organization_guid."/plan_limits");
74 74
       }
75 75
  
76 76
 }
Please login to merge, or discard this patch.