Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed phpdoc @param alignment

  • Loading branch information...
commit 7e660fe744c1a2ce2256e114641a3b9fdd4880a1 1 parent f4dfadf
Fabien Potencier fabpot authored
2  Acl/Domain/AclCollectionCache.php
View
@@ -46,7 +46,7 @@ public function __construct(AclProviderInterface $aclProvider, ObjectIdentityRet
* of required queries considerably.
*
* @param mixed $collection anything that can be passed to foreach()
- * @param array $tokens an array of TokenInterface implementations
+ * @param array $tokens an array of TokenInterface implementations
* @return void
*/
public function cache($collection, array $tokens = array())
8 Acl/Domain/PermissionGrantingStrategy.php
View
@@ -128,10 +128,10 @@ public function isFieldGranted(AclInterface $acl, $field, array $masks, array $s
* access finally.
*
* @param AclInterface $acl
- * @param array $aces An array of ACE to check against
- * @param array $masks An array of permission masks
- * @param array $sids An array of SecurityIdentityInterface implementations
- * @param Boolean $administrativeMode True turns off audit logging
+ * @param array $aces An array of ACE to check against
+ * @param array $masks An array of permission masks
+ * @param array $sids An array of SecurityIdentityInterface implementations
+ * @param Boolean $administrativeMode True turns off audit logging
* @return Boolean true, or false; either granting, or denying access respectively.
*/
private function hasSufficientPermissions(AclInterface $acl, array $aces, array $masks, array $sids, $administrativeMode)
2  Acl/Domain/UserSecurityIdentity.php
View
@@ -29,7 +29,7 @@
* Constructor
*
* @param string $username the username representation
- * @param string $class the user's fully qualified class name
+ * @param string $class the user's fully qualified class name
*/
public function __construct($username, $class)
{
2  Core/Authentication/Token/AbstractToken.php
View
@@ -176,7 +176,7 @@ public function setAttributes(array $attributes)
/**
* Returns true if the attribute exists.
*
- * @param string $name The attribute name
+ * @param string $name The attribute name
*
* @return Boolean true if the attribute exists, false otherwise
*/
2  Core/Authentication/Token/TokenInterface.php
View
@@ -100,7 +100,7 @@ function setAttributes(array $attributes);
/**
* Returns true if the attribute exists.
*
- * @param string $name The attribute name
+ * @param string $name The attribute name
*
* @return Boolean true if the attribute exists, false otherwise
*/
2  Core/Encoder/BasePasswordEncoder.php
View
@@ -47,7 +47,7 @@ protected function demergePasswordAndSalt($mergedPasswordSalt)
* Merges a password and a salt.
*
* @param string $password the password to be used
- * @param string $salt the salt to be used
+ * @param string $salt the salt to be used
*
* @return string a merged password and salt
*/
6 Http/EntryPoint/FormAuthenticationEntryPoint.php
View
@@ -33,9 +33,9 @@ class FormAuthenticationEntryPoint implements AuthenticationEntryPointInterface
* Constructor
*
* @param HttpKernelInterface $kernel
- * @param HttpUtils $httpUtils An HttpUtils instance
- * @param string $loginPath The path to the login form
- * @param Boolean $useForward Whether to forward or redirect to the login form
+ * @param HttpUtils $httpUtils An HttpUtils instance
+ * @param string $loginPath The path to the login form
+ * @param Boolean $useForward Whether to forward or redirect to the login form
*/
public function __construct(HttpKernelInterface $kernel, HttpUtils $httpUtils, $loginPath, $useForward = false)
{
14 Http/Firewall/AbstractAuthenticationListener.php
View
@@ -65,17 +65,17 @@
/**
* Constructor.
*
- * @param SecurityContextInterface $securityContext A SecurityContext instance
- * @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
+ * @param SecurityContextInterface $securityContext A SecurityContext instance
+ * @param AuthenticationManagerInterface $authenticationManager An AuthenticationManagerInterface instance
* @param SessionAuthenticationStrategyInterface $sessionStrategy
- * @param HttpUtils $httpUtils An HttpUtilsInterface instance
+ * @param HttpUtils $httpUtils An HttpUtilsInterface instance
* @param string $providerKey
- * @param array $options An array of options for the processing of a
+ * @param array $options An array of options for the processing of a
* successful, or failed authentication attempt
* @param AuthenticationSuccessHandlerInterface $successHandler
* @param AuthenticationFailureHandlerInterface $failureHandler
- * @param LoggerInterface $logger A LoggerInterface instance
- * @param EventDispatcherInterface $dispatcher An EventDispatcherInterface instance
+ * @param LoggerInterface $logger A LoggerInterface instance
+ * @param EventDispatcherInterface $dispatcher An EventDispatcherInterface instance
*/
public function __construct(SecurityContextInterface $securityContext, AuthenticationManagerInterface $authenticationManager, SessionAuthenticationStrategyInterface $sessionStrategy, HttpUtils $httpUtils, $providerKey, array $options = array(), AuthenticationSuccessHandlerInterface $successHandler = null, AuthenticationFailureHandlerInterface $failureHandler = null, LoggerInterface $logger = null, EventDispatcherInterface $dispatcher = null)
{
@@ -175,7 +175,7 @@ protected function requiresAuthentication(Request $request)
/**
* Performs authentication.
*
- * @param Request $request A Request instance
+ * @param Request $request A Request instance
*
* @return TokenInterface The authenticated token, or null if full authentication is not possible
*
6 Http/Firewall/LogoutListener.php
View
@@ -37,9 +37,9 @@ class LogoutListener implements ListenerInterface
* Constructor
*
* @param SecurityContextInterface $securityContext
- * @param HttpUtils $httpUtils An HttpUtilsInterface instance
- * @param string $logoutPath The path that starts the logout process
- * @param string $targetUrl The URL to redirect to after logout
+ * @param HttpUtils $httpUtils An HttpUtilsInterface instance
+ * @param string $logoutPath The path that starts the logout process
+ * @param string $targetUrl The URL to redirect to after logout
* @param LogoutSuccessHandlerInterface $successHandler
*/
public function __construct(SecurityContextInterface $securityContext, HttpUtils $httpUtils, $logoutPath, $targetUrl = '/', LogoutSuccessHandlerInterface $successHandler = null)
2  Http/RememberMe/AbstractRememberMeServices.php
View
@@ -172,7 +172,7 @@ public function logout(Request $request, Response $response, TokenInterface $tok
*
* @param Request $request
* @param Response $response
- * @param TokenInterface $token The token that resulted in a successful authentication
+ * @param TokenInterface $token The token that resulted in a successful authentication
*
* @return void
*/
6 Http/RememberMe/TokenBasedRememberMeServices.php
View
@@ -137,9 +137,9 @@ protected function generateCookieValue($class, $username, $expires, $password)
* Generates a hash for the cookie to ensure it is not being tempered with
*
* @param string $class
- * @param string $username The username
- * @param integer $expires The unixtime when the cookie expires
- * @param string $password The encoded password
+ * @param string $username The username
+ * @param integer $expires The unixtime when the cookie expires
+ * @param string $password The encoded password
*
* @throws \RuntimeException when the private key is empty
*
Please sign in to comment.
Something went wrong with that request. Please try again.