[Security] Change signature of AuthenticationException
to match \Exception
This commit is contained in:
parent
b378964dbd
commit
694c47ce96
@ -15,18 +15,12 @@ namespace Symfony\Component\Security\Core\Exception;
|
||||
* AuthenticationException is the base class for all authentication exceptions.
|
||||
*
|
||||
* @author Fabien Potencier <fabien@symfony.com>
|
||||
* @author Alexander <iam.asm89@gmail.com>
|
||||
*/
|
||||
class AuthenticationException extends \RuntimeException implements \Serializable
|
||||
{
|
||||
private $extraInformation;
|
||||
|
||||
public function __construct($message, $extraInformation = null, $code = 0, \Exception $previous = null)
|
||||
{
|
||||
parent::__construct($message, $code, $previous);
|
||||
|
||||
$this->extraInformation = $extraInformation;
|
||||
}
|
||||
|
||||
public function getExtraInformation()
|
||||
{
|
||||
return $this->extraInformation;
|
||||
|
Reference in New Issue
Block a user