Completed
Push — master ( 815970...734d60 )
by Iman
18:27
created
src/Utils/Cache.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@
 block discarded – undo
85 85
      */
86 86
     private function getTagTokens($cacheTags)
87 87
     {
88
-        return array_map(function ($tag) {
88
+        return array_map(function($tag) {
89 89
             return $this->_cacheTag->getTagToken($tag);
90 90
         }, $cacheTags);
91 91
     }
Please login to merge, or discard this patch.
src/Utils/Normalizers/CacheNormalizer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -11,8 +11,8 @@  discard block
 block discarded – undo
11 11
      */
12 12
     public function normalizeCacheLifeTime($widget)
13 13
     {
14
-        if (! property_exists($widget, 'cacheLifeTime')) {
15
-            $widget->cacheLifeTime = (int) (config('widgetize.default_cache_lifetime', 0));
14
+        if (!property_exists($widget, 'cacheLifeTime')) {
15
+            $widget->cacheLifeTime = (int)(config('widgetize.default_cache_lifetime', 0));
16 16
         }
17 17
 
18 18
         if ($widget->cacheLifeTime === 'forever' || $widget->cacheLifeTime < 0) {
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
      */
29 29
     public function normalizeCacheTags($widget)
30 30
     {
31
-        if (! property_exists($widget, 'cacheTags')) {
31
+        if (!property_exists($widget, 'cacheTags')) {
32 32
             return $widget->cacheTags = [];
33 33
         }
34 34
 
Please login to merge, or discard this patch.