@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace Spatie\CookieConsent; |
| 4 | 4 | |
| 5 | 5 | use Closure; |
| 6 | -use Illuminate\Http\Response; |
|
| 7 | 6 | use Illuminate\Contracts\Foundation\Application; |
| 7 | +use Illuminate\Http\Response; |
|
| 8 | 8 | |
| 9 | 9 | class CookieConsentMiddleware |
| 10 | 10 | { |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | /** |
| 53 | 53 | * @param \Illuminate\Http\Response $response |
| 54 | 54 | * |
| 55 | - * @return $this |
|
| 55 | + * @return Response |
|
| 56 | 56 | */ |
| 57 | 57 | protected function addCookieConsentScriptToResponse(Response $response) |
| 58 | 58 | { |
@@ -4,8 +4,8 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Cookie; |
| 6 | 6 | use Illuminate\Contracts\View\View; |
| 7 | -use Illuminate\Support\ServiceProvider; |
|
| 8 | 7 | use Illuminate\Cookie\Middleware\EncryptCookies; |
| 8 | +use Illuminate\Support\ServiceProvider; |
|
| 9 | 9 | |
| 10 | 10 | class CookieConsentServiceProvider extends ServiceProvider |
| 11 | 11 | { |