Completed
Push — master ( 3cae80...41e9e9 )
by Sherif
02:59
created
src/Modules/V1/Core/Http/Controllers/BaseApiController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
         $this->validationRules     = property_exists($this, 'validationRules') ? $this->validationRules : false;
35 35
         $this->skipPermissionCheck = property_exists($this, 'skipPermissionCheck') ? $this->skipPermissionCheck : [];
36 36
         $this->skipLoginCheck      = property_exists($this, 'skipLoginCheck') ? $this->skipLoginCheck : [];
37
-        $route                     = explode('@',\Route::currentRouteAction())[1];
37
+        $route                     = explode('@', \Route::currentRouteAction())[1];
38 38
 
39 39
         $this->checkPermission($route);
40 40
         $this->setRelations($route);
Please login to merge, or discard this patch.
src/Modules/V1/Core/Decorators/CachingDecorator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
         if ($this->cacheConfig && $this->cacheConfig == 'cache') 
56 56
         {
57 57
             $page     = \Request::get('page') ?? '1';
58
-            $cacheKey = $name . $page . serialize($arguments);
58
+            $cacheKey = $name.$page.serialize($arguments);
59 59
             return $this->cache->tags([$this->model])->rememberForever($cacheKey, function() use ($arguments) {
60 60
                 return call_user_func_array([$this->repo, $name], $arguments);
61 61
             });
Please login to merge, or discard this patch.