diff --git a/src/DefaultLogWriter.php b/src/DefaultLogWriter.php index ddc269b..c5e597a 100644 --- a/src/DefaultLogWriter.php +++ b/src/DefaultLogWriter.php @@ -5,7 +5,6 @@ use Illuminate\Http\Request; -use Illuminate\Http\Response; use Illuminate\Support\Facades\Log; use Symfony\Component\HttpFoundation\File\UploadedFile; @@ -33,7 +32,7 @@ public function logRequest(Request $request): void Log::info($message); } - public function logResponse(Request $request, Response $response) + public function logResponse(Request $request, $response) { $method = strtoupper($request->getMethod()); diff --git a/src/LogWriter.php b/src/LogWriter.php index ac0364a..95fbc67 100644 --- a/src/LogWriter.php +++ b/src/LogWriter.php @@ -5,11 +5,10 @@ use Illuminate\Http\Request; -use Illuminate\Http\Response; interface LogWriter { public function logRequest(Request $request); - public function logResponse(Request $request, Response $response); + public function logResponse(Request $request, $response); }