From d021a6df1237f52781d14625574bdefb402b9a92 Mon Sep 17 00:00:00 2001 From: Ari Date: Fri, 9 Sep 2022 01:06:27 +0430 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F=20Fix=20Response=20Type?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ReplayResponse.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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') );