Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Commit

Permalink
🚑️ Fix Response Type
Browse files Browse the repository at this point in the history
  • Loading branch information
bvtterfly committed Sep 8, 2022
1 parent d4ac7e1 commit d021a6d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/ReplayResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@

namespace Bvtterfly\Replay;

use Illuminate\Http\Response;
use Symfony\Component\HttpFoundation\Response as StatusCode;
use Symfony\Component\HttpFoundation\Response;

class ReplayResponse
{
Expand Down Expand Up @@ -33,7 +32,7 @@ public function toResponse(string $requestSignature): Response
{
abort_if(
$requestSignature !== $this->requestSignature,
StatusCode::HTTP_CONFLICT,
Response::HTTP_CONFLICT,
__('replay::responses.error_messages.mismatch')
);

Expand Down

0 comments on commit d021a6d

Please sign in to comment.