From 7802c280ed75a88af97a647ff6c7fe3ca1e2b62a Mon Sep 17 00:00:00 2001 From: lukinovec Date: Fri, 2 Sep 2022 09:43:34 +0200 Subject: [PATCH] Escape backslashes in the exception's message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Samuel Ć tancl --- .../ImpersonationTokenCouldNotBeCreatedWithNonStatefulGuard.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Exceptions/ImpersonationTokenCouldNotBeCreatedWithNonStatefulGuard.php b/src/Exceptions/ImpersonationTokenCouldNotBeCreatedWithNonStatefulGuard.php index f611a080..e6655193 100644 --- a/src/Exceptions/ImpersonationTokenCouldNotBeCreatedWithNonStatefulGuard.php +++ b/src/Exceptions/ImpersonationTokenCouldNotBeCreatedWithNonStatefulGuard.php @@ -10,6 +10,6 @@ class ImpersonationTokenCouldNotBeCreatedWithNonStatefulGuard extends Exception { public function __construct(string $guardName) { - parent::__construct("Cannot use a non-stateful auth guard ('$guardName') with user impersonation. Use a guard implementing the Illuminate\Contracts\Auth\StatefulGuard interface."); + parent::__construct("Cannot use a non-stateful auth guard ('$guardName') with user impersonation. Use a guard implementing the Illuminate\\Contracts\\Auth\\StatefulGuard interface."); } }