Completed
Pull Request — master (#100)
by Sebastien
08:34
created
src/Misc/LaravelApplicationWrapper.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * @param $key
28 28
      * @param $minutes
29 29
      * @param $tags
30
-     * @param callable $callback
30
+     * @param Closure $callback
31 31
      *
32 32
      * @return mixed
33 33
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     {
36 36
         $cache = $this->app->make('cache');
37 37
 
38
-        if(method_exists($cache->getStore(), 'tags')) {
38
+        if (method_exists($cache->getStore(), 'tags')) {
39 39
             $cache = $cache->tags($tags);
40 40
         }
41 41
 
Please login to merge, or discard this patch.
src/Factories/WidgetFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
     {
69 69
         if ($cacheTime = (float) $this->getCacheTime()) {
70 70
 
71
-            return $this->app->cache($this->widget->cacheKey($args), $cacheTime, $this->widget->cacheTags(), function () {
71
+            return $this->app->cache($this->widget->cacheKey($args), $cacheTime, $this->widget->cacheTags(), function() {
72 72
                 return $this->getContent();
73 73
             });
74 74
         }
Please login to merge, or discard this patch.