Code Duplication    Length = 5-5 lines in 2 locations

src/PartialCache.php 2 locations

@@ 73-77 (lines=5) @@
70
71
        $minutes = $this->resolveCacheDuration($minutes);
72
73
        if ($this->cacheIsTaggable && $minutes === null) {
74
            return $this->cache
75
                ->tags($tags)
76
                ->rememberForever($viewKey, $this->renderView($view, $data, $mergeData));
77
        }
78
79
        if ($this->cacheIsTaggable) {
80
            return $this->cache
@@ 79-83 (lines=5) @@
76
                ->rememberForever($viewKey, $this->renderView($view, $data, $mergeData));
77
        }
78
79
        if ($this->cacheIsTaggable) {
80
            return $this->cache
81
                ->tags($tags)
82
                ->remember($viewKey, $minutes, $this->renderView($view, $data, $mergeData));
83
        }
84
85
        if ($minutes === null) {
86
            return $this->cache