Code Duplication    Length = 5-5 lines in 2 locations

src/PartialCache.php 2 locations

@@ 85-89 (lines=5) @@
82
83
        $tags = $this->getTags($tag);
84
85
        if ($this->cacheIsTaggable && $minutes === null) {
86
            return $this->cache
87
                ->tags($tags)
88
                ->rememberForever($viewKey, $this->renderView($view, $data, $mergeData));
89
        }
90
91
        if ($this->cacheIsTaggable) {
92
            return $this->cache
@@ 91-95 (lines=5) @@
88
                ->rememberForever($viewKey, $this->renderView($view, $data, $mergeData));
89
        }
90
91
        if ($this->cacheIsTaggable) {
92
            return $this->cache
93
                ->tags($tags)
94
                ->remember($viewKey, $minutes, $this->renderView($view, $data, $mergeData));
95
        }
96
97
        if ($minutes === null) {
98
            return $this->cache