Completed
Branch master (ff1de4)
by PHPLicengine
07:38
created
lib/PHPLicengine/Service/App.php 2 patches
Indentation   +11 added lines, -11 removed lines patch added patch discarded remove patch
@@ -28,21 +28,21 @@
 block discarded – undo
28 28
 
29 29
 class App {
30 30
  
31
-      private $url;
31
+       private $url;
32 32
       
33
-      public function __construct (ApiInterface $api)
34
-      {
35
-             $this->api = $api;
36
-             $this->url = 'https://api-ssl.bitly.com/v4/apps';       
37
-      }
33
+       public function __construct (ApiInterface $api)
34
+       {
35
+              $this->api = $api;
36
+              $this->url = 'https://api-ssl.bitly.com/v4/apps';       
37
+       }
38 38
  
39
-      /*
39
+       /*
40 40
       Retrieve OAuth App
41 41
       https://dev.bitly.com/v4/#operation/getOAuthApp
42 42
       */
43
-      public function getOAuthApp(string $client_id) 
44
-      {
45
-             return $this->api->get($this->url . '/'.$client_id);
46
-      }
43
+       public function getOAuthApp(string $client_id) 
44
+       {
45
+              return $this->api->get($this->url . '/'.$client_id);
46
+       }
47 47
       
48 48
 }
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
  
31 31
       private $url;
32 32
       
33
-      public function __construct (ApiInterface $api)
33
+      public function __construct(ApiInterface $api)
34 34
       {
35 35
              $this->api = $api;
36 36
              $this->url = 'https://api-ssl.bitly.com/v4/apps';       
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
       */
43 43
       public function getOAuthApp(string $client_id) 
44 44
       {
45
-             return $this->api->get($this->url . '/'.$client_id);
45
+             return $this->api->get($this->url.'/'.$client_id);
46 46
       }
47 47
       
48 48
 }
Please login to merge, or discard this patch.