From d763134e1a4c3651bd61564dabc130f477af8077 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Tue, 22 Sep 2015 19:45:03 -0400 Subject: [PATCH] Removing unnecessary override --- .../Guard/Token/PostAuthenticationGuardToken.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/Symfony/Component/Security/Guard/Token/PostAuthenticationGuardToken.php b/src/Symfony/Component/Security/Guard/Token/PostAuthenticationGuardToken.php index 9657f8a524..36c40cab95 100644 --- a/src/Symfony/Component/Security/Guard/Token/PostAuthenticationGuardToken.php +++ b/src/Symfony/Component/Security/Guard/Token/PostAuthenticationGuardToken.php @@ -50,18 +50,6 @@ class PostAuthenticationGuardToken extends AbstractToken implements GuardTokenIn parent::setAuthenticated(true); } - /** - * {@inheritdoc} - */ - public function setAuthenticated($isAuthenticated) - { - if ($isAuthenticated) { - throw new \LogicException('Cannot set this token to trusted after instantiation.'); - } - - parent::setAuthenticated(false); - } - /** * This is meant to be only an authenticated token, where credentials * have already been used and are thus cleared.