summaryrefslogtreecommitdiffstats
path: root/Guard/GuardAuthenticatorHandler.php
diff options
context:
space:
mode:
authorRyan Weaver <ryan@thatsquality.com>2015-05-18 08:51:00 -0400
committerRyan Weaver <ryan@thatsquality.com>2015-09-20 19:24:21 -0400
commit149b0ebcacc3172712524bf5f9e10c5361c914a0 (patch)
tree8fe89f199d070d7790bc431b142259fe91c302cf /Guard/GuardAuthenticatorHandler.php
parent4c99ad9dc194faa067af532881f2eceb3b4d846d (diff)
downloadsymfony-security-149b0ebcacc3172712524bf5f9e10c5361c914a0.zip
symfony-security-149b0ebcacc3172712524bf5f9e10c5361c914a0.tar.gz
symfony-security-149b0ebcacc3172712524bf5f9e10c5361c914a0.tar.bz2
Adding periods at the end of exceptions, and changing one class name to LogicException thanks to @iltar
Diffstat (limited to 'Guard/GuardAuthenticatorHandler.php')
-rw-r--r--Guard/GuardAuthenticatorHandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Guard/GuardAuthenticatorHandler.php b/Guard/GuardAuthenticatorHandler.php
index 5be7eb5..465b45a 100644
--- a/Guard/GuardAuthenticatorHandler.php
+++ b/Guard/GuardAuthenticatorHandler.php
@@ -68,7 +68,7 @@ class GuardAuthenticatorHandler
}
throw new \UnexpectedValueException(sprintf(
- 'The %s::onAuthenticationSuccess method must return null or a Response object. You returned %s',
+ 'The %s::onAuthenticationSuccess method must return null or a Response object. You returned %s.',
get_class($guardAuthenticator),
is_object($response) ? get_class($response) : gettype($response)
));
@@ -117,7 +117,7 @@ class GuardAuthenticatorHandler
}
throw new \UnexpectedValueException(sprintf(
- 'The %s::onAuthenticationFailure method must return null or a Response object. You returned %s',
+ 'The %s::onAuthenticationFailure method must return null or a Response object. You returned %s.',
get_class($guardAuthenticator),
is_object($response) ? get_class($response) : gettype($response)
));