Completed
Push — develop ( f2d14c...64ea4b )
by Jimmy
02:35
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.