Completed
Pull Request — master (#2)
by Jimmy
04:23
created
src/Api/Client.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     public function oauthRequestTokenUsingCode($code): string
89 89
     {
90
-        $path = 'oauth/token?' . http_build_query(
90
+        $path = 'oauth/token?'.http_build_query(
91 91
             [
92 92
                 'client_id'     => $this->configs['oauth']['id'],
93 93
                 'client_secret' => $this->configs['oauth']['secret'],
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     public function oauthUri($url): string
129 129
     {
130 130
         return $this->uri(
131
-            '?' . http_build_query(
131
+            '?'.http_build_query(
132 132
                 [
133 133
                     'client_id'    => $this->configs['oauth']['id'],
134 134
                     'redirect_uri' => $url,
@@ -251,6 +251,6 @@  discard block
 block discarded – undo
251 251
      */
252 252
     public function uri($path = null, $url = null): string
253 253
     {
254
-        return rtrim(($url ?: $this->configs['url']), '/') . (Str::startsWith($path, '?') ? null : '/') . ltrim($path, '/');
254
+        return rtrim(($url ?: $this->configs['url']), '/').(Str::startsWith($path, '?') ? null : '/').ltrim($path, '/');
255 255
     }
256 256
 }
Please login to merge, or discard this patch.
src/Concerns/HasClickUp.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -36,12 +36,12 @@  discard block
 block discarded – undo
36 36
     {
37 37
         if (is_null($this->builder)) {
38 38
             $this->builder = Container::getInstance()
39
-                                      ->make(Builder::class)
40
-                                      ->setClient(
41
-                                          Container::getInstance()
42
-                                                   ->make(ClickUp::class)
43
-                                                   ->setToken($this->clickup_token)
44
-                                      );
39
+                                        ->make(Builder::class)
40
+                                        ->setClient(
41
+                                            Container::getInstance()
42
+                                                    ->make(ClickUp::class)
43
+                                                    ->setToken($this->clickup_token)
44
+                                        );
45 45
         }
46 46
 
47 47
         return $this->builder;
@@ -110,6 +110,6 @@  discard block
 block discarded – undo
110 110
         $this->attributes['clickup_token'] = is_null($clickup_token)
111 111
             ? null
112 112
             : $this->resolveEncrypter()
113
-                   ->encrypt($clickup_token);
113
+                    ->encrypt($clickup_token);
114 114
     }
115 115
 }
Please login to merge, or discard this patch.