diff --git a/src/ReplayResponse.php b/src/ReplayResponse.php index c5e7e76..17ca1d9 100644 --- a/src/ReplayResponse.php +++ b/src/ReplayResponse.php @@ -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 { @@ -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') );