summaryrefslogtreecommitdiffstats
path: root/Core/Exception
diff options
context:
space:
mode:
authorAlexander <iam.asm89@gmail.com>2013-01-07 20:34:14 +0100
committerAlexander <iam.asm89@gmail.com>2013-01-07 21:11:19 +0100
commitf116f931eaf85af90449300267c91bd8a22175c2 (patch)
tree7d88229d3dd017fe5d6032f0cea12c606b53bf8d /Core/Exception
parentcd47f40584b192f6bc94e48dfbe7545280f382c9 (diff)
downloadsymfony-security-f116f931eaf85af90449300267c91bd8a22175c2.zip
symfony-security-f116f931eaf85af90449300267c91bd8a22175c2.tar.gz
symfony-security-f116f931eaf85af90449300267c91bd8a22175c2.tar.bz2
[Security] Fix CS + unreachable code
Diffstat (limited to 'Core/Exception')
-rw-r--r--Core/Exception/AccountStatusException.php6
-rw-r--r--Core/Exception/UsernameNotFoundException.php6
2 files changed, 4 insertions, 8 deletions
diff --git a/Core/Exception/AccountStatusException.php b/Core/Exception/AccountStatusException.php
index d89d553..7819e4d 100644
--- a/Core/Exception/AccountStatusException.php
+++ b/Core/Exception/AccountStatusException.php
@@ -60,10 +60,8 @@ abstract class AccountStatusException extends AuthenticationException
*/
public function unserialize($str)
{
- list(
- $this->user,
- $parentData
- ) = unserialize($str);
+ list($this->user, $parentData) = unserialize($str);
+
parent::unserialize($parentData);
}
}
diff --git a/Core/Exception/UsernameNotFoundException.php b/Core/Exception/UsernameNotFoundException.php
index 9a9989f..0299f83 100644
--- a/Core/Exception/UsernameNotFoundException.php
+++ b/Core/Exception/UsernameNotFoundException.php
@@ -65,10 +65,8 @@ class UsernameNotFoundException extends AuthenticationException
*/
public function unserialize($str)
{
- list(
- $this->username,
- $parentData
- ) = unserialize($str);
+ list($this->username, $parentData) = unserialize($str);
+
parent::unserialize($parentData);
}
}