From cb551b378ae6a05b16a771b618e26660b1b40a1e Mon Sep 17 00:00:00 2001 From: Evan Sims Date: Mon, 8 Jan 2024 21:34:27 -0600 Subject: [PATCH] Fix linter warnings --- src/Service.php | 2 +- src/Stores/SessionStore.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Service.php b/src/Service.php index f274309..8159e10 100644 --- a/src/Service.php +++ b/src/Service.php @@ -27,7 +27,7 @@ public function __construct( public function getSdk(): Auth0 { - if (! $this->sdk instanceof \Auth0\SDK\Auth0) { + if (! $this->sdk instanceof Auth0) { $this->warmUp(); $this->sdk = new Auth0($this->configuration); diff --git a/src/Stores/SessionStore.php b/src/Stores/SessionStore.php index 506cbb4..0cf5ada 100644 --- a/src/Stores/SessionStore.php +++ b/src/Stores/SessionStore.php @@ -147,7 +147,7 @@ private function session( } catch (Throwable) { } - if ($session instanceof \Symfony\Component\HttpFoundation\Session\SessionInterface) { + if ($session instanceof SessionInterface) { if (! $session->isStarted()) { $session->start(); }