Completed
Push — develop ( 88b44b...ec5cb3 )
by Stephen
13s queued 11s
created
src/Support/Builder.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
 
161 161
         // Call API to get the response
162 162
         $response = $this->getClient()
163
-                         ->request($this->getPath());
163
+                            ->request($this->getPath());
164 164
 
165 165
         // Peel off the key if exist
166 166
         $response = $this->peelWrapperPropertyIfNeeded(Arr::wrap($response));
@@ -260,8 +260,8 @@  discard block
 block discarded – undo
260 260
     public function newInstance(): self
261 261
     {
262 262
         return (new static())->setClass($this->class)
263
-                             ->setClient($this->getClient())
264
-                             ->setParent($this->parentModel);
263
+                                ->setClient($this->getClient())
264
+                                ->setParent($this->parentModel);
265 265
     }
266 266
 
267 267
     /**
@@ -292,7 +292,7 @@  discard block
 block discarded – undo
292 292
         // Check for single response
293 293
         if (array_key_exists(
294 294
             $this->getModel()
295
-                 ->getResponseKey(),
295
+                    ->getResponseKey(),
296 296
             $properties
297 297
         )) {
298 298
             return $properties[$this->getModel()
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
         // Check for collection of responses
303 303
         if (array_key_exists(
304 304
             $this->getModel()
305
-                 ->getResponseCollectionKey(),
305
+                    ->getResponseCollectionKey(),
306 306
             $properties
307 307
         )) {
308 308
             return $properties[$this->getModel()
Please login to merge, or discard this patch.
src/Concerns/HasClickUp.php 1 patch
Indentation   +8 added lines, -8 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;
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
         return is_null($this->attributes['clickup_token'] ?? null)
71 71
             ? null
72 72
             : $this->resolveEncrypter()
73
-                   ->decrypt($this->attributes['clickup_token']);
73
+                    ->decrypt($this->attributes['clickup_token']);
74 74
     }
75 75
 
76 76
     /**
@@ -111,6 +111,6 @@  discard block
 block discarded – undo
111 111
         $this->attributes['clickup_token'] = is_null($clickup_token)
112 112
             ? null
113 113
             : $this->resolveEncrypter()
114
-                   ->encrypt($clickup_token);
114
+                    ->encrypt($clickup_token);
115 115
     }
116 116
 }
Please login to merge, or discard this patch.