From c293fdaec047e25258ffec6ad0b0d67c7b3d627a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20Klabbers?= Date: Mon, 21 May 2018 21:19:38 +0200 Subject: [PATCH] undo session interface change --- src/User/User.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/User/User.php b/src/User/User.php index 446d5d107..16bf9fb64 100644 --- a/src/User/User.php +++ b/src/User/User.php @@ -35,7 +35,7 @@ use Flarum\User\Event\PasswordChanged; use Flarum\User\Event\Registered; use Flarum\User\Event\Renamed; use Illuminate\Contracts\Hashing\Hasher; -use Symfony\Component\HttpFoundation\Session\SessionInterface; +use Illuminate\Contracts\Session\Session; /** * @property int $id @@ -82,7 +82,7 @@ class User extends AbstractModel protected $permissions = null; /** - * @var SessionInterface + * @var Session */ protected $session; @@ -698,7 +698,7 @@ class User extends AbstractModel } /** - * @return SessionInterface + * @return Session */ public function getSession() { @@ -706,9 +706,9 @@ class User extends AbstractModel } /** - * @param SessionInterface $session + * @param Session $session */ - public function setSession(SessionInterface $session) + public function setSession(Session $session) { $this->session = $session; }