Passed
Pull Request — master (#274)
by
unknown
03:01
created
src/Traits/Buildable.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -275,8 +275,8 @@  discard block
 block discarded – undo
275 275
 
276 276
         $cache_callback = function () use ($arguments, $cacheKey, $method) {
277 277
             return [
278
-              "key" => $cacheKey,
279
-              "value" => parent::{$method}(...$arguments),
278
+                "key" => $cacheKey,
279
+                "value" => parent::{$method}(...$arguments),
280 280
             ];
281 281
         };
282 282
 
@@ -284,11 +284,11 @@  discard block
 block discarded – undo
284 284
             $this->checkCooldownAndRemoveIfExpired($this->getModel());
285 285
             if ($this->getModel()::maxCacheTimeout() > 0) {
286 286
                 return $this->cache($cacheTags)
287
-                  ->remember(
287
+                    ->remember(
288 288
                     $hashedCacheKey,
289 289
                     $this->getModel()::maxCacheTimeout(),
290 290
                     $cache_callback
291
-                  );
291
+                    );
292 292
             }
293 293
         }
294 294
 
Please login to merge, or discard this patch.