phpcs does not like full namespaces
This commit is contained in:
parent
ffd9275500
commit
781b5c8bc2
1 changed files with 2 additions and 1 deletions
|
@ -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]);
|
||||
|
|
Loading…
Reference in a new issue