Code Duplication    Length = 5-5 lines in 2 locations

src/PartialCache.php 2 locations

@@ 67-71 (lines=5) @@
64
65
        $tags = $this->getTags($tag);
66
67
        if ($this->cacheIsTaggable && $minutes === null) {
68
            return $this->cache
69
                ->tags($tags)
70
                ->rememberForever($viewKey, $this->renderView($view, $data, $mergeData));
71
        }
72
73
        if ($this->cacheIsTaggable) {
74
            return $this->cache
@@ 73-77 (lines=5) @@
70
                ->rememberForever($viewKey, $this->renderView($view, $data, $mergeData));
71
        }
72
73
        if ($this->cacheIsTaggable) {
74
            return $this->cache
75
                ->tags($tags)
76
                ->remember($viewKey, $minutes, $this->renderView($view, $data, $mergeData));
77
        }
78
79
        if ($minutes === null) {
80
            return $this->cache