@@ -173,7 +173,7 @@ |
||
173 | 173 | * @param array $data |
174 | 174 | * @param array $mergeData |
175 | 175 | * |
176 | - * @return string |
|
176 | + * @return \Closure |
|
177 | 177 | */ |
178 | 178 | protected function renderView($view, $data, $mergeData) |
179 | 179 | { |
@@ -3,10 +3,10 @@ |
||
3 | 3 | namespace Spatie\PartialCache; |
4 | 4 | |
5 | 5 | use Illuminate\Cache\TaggableStore; |
6 | -use Illuminate\Contracts\View\Factory as View; |
|
6 | +use Illuminate\Contracts\Cache\Factory as CacheManager; |
|
7 | 7 | use Illuminate\Contracts\Cache\Repository as Cache; |
8 | 8 | use Illuminate\Contracts\Config\Repository as Config; |
9 | -use Illuminate\Contracts\Cache\Factory as CacheManager; |
|
9 | +use Illuminate\Contracts\View\Factory as View; |
|
10 | 10 | use Spatie\PartialCache\Exceptions\MethodNotSupportedException; |
11 | 11 | |
12 | 12 | class PartialCache |