From 781b5c8bc22f0d3801d2dded8267453d65f16dc6 Mon Sep 17 00:00:00 2001 From: Pierre Rudloff Date: Thu, 3 Feb 2022 20:03:55 +0100 Subject: [PATCH] phpcs does not like full namespaces --- classes/Factory/SessionFactory.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/classes/Factory/SessionFactory.php b/classes/Factory/SessionFactory.php index 05bb796..57dab05 100644 --- a/classes/Factory/SessionFactory.php +++ b/classes/Factory/SessionFactory.php @@ -7,6 +7,7 @@ namespace Alltube\Factory; use Aura\Session\Session; +use Aura\Session\SessionFactory as AuraSessionFactory; use Slim\Container; /** @@ -23,7 +24,7 @@ class SessionFactory */ public static function create(Container $container): Session { - $session_factory = new \Aura\Session\SessionFactory(); + $session_factory = new AuraSessionFactory(); $session = $session_factory->newInstance($_COOKIE); $session->setCookieParams(['httponly' => true]);