Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
alimranahmed committed Jun 10, 2020
2 parents 99bc549 + adda6e0 commit 800af50
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/DefaultLogWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@


use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Log;
use Symfony\Component\HttpFoundation\File\UploadedFile;

Expand Down Expand Up @@ -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());

Expand Down
3 changes: 1 addition & 2 deletions src/LogWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit 800af50

Please sign in to comment.