Passed
Push — master ( 4ada12...a64dfe )
by Zahir
10:18
created
src/Helpers/controllerHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -691,7 +691,7 @@
 block discarded – undo
691 691
 if (!function_exists('getActionColumn')) {
692 692
     function getActionColumn($datatable, $can_edit, $can_delete, $can_restore, $can_force_delete, $trash)
693 693
     {
694
-        $datatable->addColumn('action', function ($row) use ($can_edit, $can_delete, $can_restore, $can_force_delete, $trash) {
694
+        $datatable->addColumn('action', function($row) use ($can_edit, $can_delete, $can_restore, $can_force_delete, $trash) {
695 695
             if ($trash) {
696 696
                 return trashActionLinks($row, $can_restore, $can_force_delete);
697 697
             } else {
Please login to merge, or discard this patch.
src/Helpers/cacheHelper.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         cache()->forget($key);
45 45
 
46 46
         // caching again
47
-        cache()->rememberForever($key, function () use ($query) {
47
+        cache()->rememberForever($key, function() use ($query) {
48 48
             return $query;
49 49
         });
50 50
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         $key = getCacheKey($slug, $model);
68 68
         // caching project if not existing
69 69
         if (!cache()->has($key)) {
70
-            cache()->rememberForever($key, function () use ($model, $slug) {
70
+            cache()->rememberForever($key, function() use ($model, $slug) {
71 71
                 return $model::active()->where('slug', $slug)->firstOrFail();
72 72
             });
73 73
         }
Please login to merge, or discard this patch.