summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Neutron <imprec@gmail.com>2014-04-18 22:37:14 +0200
committerRomain Neutron <imprec@gmail.com>2014-04-18 22:37:14 +0200
commitc5899fcc178588d382ad4f65d426c0ab38b10951 (patch)
tree0b4a963ca8e2b38683c7e735b7bce72ba8b2bac4
parente61596f268884e2584fb667016b4c3ad72270a1d (diff)
downloadsymfony-security-c5899fcc178588d382ad4f65d426c0ab38b10951.zip
symfony-security-c5899fcc178588d382ad4f65d426c0ab38b10951.tar.gz
symfony-security-c5899fcc178588d382ad4f65d426c0ab38b10951.tar.bz2
Fix doc blocks
-rw-r--r--Core/Authorization/Voter/ExpressionVoter.php4
-rw-r--r--Http/Firewall/SimpleFormAuthenticationListener.php7
2 files changed, 8 insertions, 3 deletions
diff --git a/Core/Authorization/Voter/ExpressionVoter.php b/Core/Authorization/Voter/ExpressionVoter.php
index 09953ac..3263803 100644
--- a/Core/Authorization/Voter/ExpressionVoter.php
+++ b/Core/Authorization/Voter/ExpressionVoter.php
@@ -32,7 +32,9 @@ class ExpressionVoter implements VoterInterface
/**
* Constructor.
*
- * @param ExpressionLanguage $expressionLanguage
+ * @param ExpressionLanguage $expressionLanguage
+ * @param AuthenticationTrustResolverInterface $trustResolver
+ * @param RoleHierarchyInterface|null $roleHierarchy
*/
public function __construct(ExpressionLanguage $expressionLanguage, AuthenticationTrustResolverInterface $trustResolver, RoleHierarchyInterface $roleHierarchy = null)
{
diff --git a/Http/Firewall/SimpleFormAuthenticationListener.php b/Http/Firewall/SimpleFormAuthenticationListener.php
index f79ce5c..cf3d94d 100644
--- a/Http/Firewall/SimpleFormAuthenticationListener.php
+++ b/Http/Firewall/SimpleFormAuthenticationListener.php
@@ -50,8 +50,11 @@ class SimpleFormAuthenticationListener extends AbstractAuthenticationListener
* successful, or failed authentication attempt
* @param LoggerInterface $logger A LoggerInterface instance
* @param EventDispatcherInterface $dispatcher An EventDispatcherInterface instance
- * @param SimpleFormAuthenticatorInterface $simpleAuthenticator A SimpleFormAuthenticatorInterface instance
- * @param CsrfTokenManagerInterface $csrfTokenManager A CsrfTokenManagerInterface instance
+ * @param CsrfTokenManagerInterface $csrfTokenManager A SimpleFormAuthenticatorInterface instance
+ * @param SimpleFormAuthenticatorInterface $simpleAuthenticator A CsrfTokenManagerInterface instance
+ *
+ * @throws \InvalidArgumentException In case no simple authenticator is provided
+ * @throws InvalidArgumentException In case an invalid CSRF token manager is passed
*/
public function __construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, SessionAuthenticationStrategyInterface $sessionStrategy, HttpUtils $httpUtils, $providerKey, AuthenticationSuccessHandlerInterface $successHandler, AuthenticationFailureHandlerInterface $failureHandler, array $options = array(), LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null, CsrfTokenManagerInterface $csrfTokenManager = null, SimpleFormAuthenticatorInterface $simpleAuthenticator = null)
{