Skip to content

Commit 9f6673e

Browse files
Philippe Segatorinicolas-grekas
authored andcommitted
Remove superfluous phpdoc tags
1 parent 95f2a2b commit 9f6673e

File tree

6 files changed

+16
-24
lines changed

6 files changed

+16
-24
lines changed

Authentication/RememberMe/PersistentToken.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ final class PersistentToken implements PersistentTokenInterface
2525
private $lastUsed;
2626

2727
/**
28-
* @param string $class
29-
* @param string $username
30-
* @param string $series
31-
* @param string $tokenValue
32-
* @param \DateTime $lastUsed
28+
* @param string $class
29+
* @param string $username
30+
* @param string $series
31+
* @param string $tokenValue
3332
*
3433
* @throws \InvalidArgumentException
3534
*/

Authentication/RememberMe/TokenProviderInterface.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ public function deleteTokenBySeries($series);
4141
/**
4242
* Updates the token according to this data.
4343
*
44-
* @param string $series
45-
* @param string $tokenValue
46-
* @param \DateTime $lastUsed
44+
* @param string $series
45+
* @param string $tokenValue
4746
*
4847
* @throws TokenNotFoundException if the token is not found
4948
*/

Authentication/Token/RememberMeToken.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,8 @@ class RememberMeToken extends AbstractToken
2424
private $providerKey;
2525

2626
/**
27-
* @param UserInterface $user
28-
* @param string $providerKey
29-
* @param string $secret A secret used to make sure the token is created by the app and not by a malicious client
27+
* @param string $providerKey
28+
* @param string $secret A secret used to make sure the token is created by the app and not by a malicious client
3029
*
3130
* @throws \InvalidArgumentException
3231
*/

Authorization/AuthorizationChecker.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class AuthorizationChecker implements AuthorizationCheckerInterface
3131
private $alwaysAuthenticate;
3232

3333
/**
34-
* @param TokenStorageInterface $tokenStorage
3534
* @param AuthenticationManagerInterface $authenticationManager An AuthenticationManager instance
3635
* @param AccessDecisionManagerInterface $accessDecisionManager An AccessDecisionManager instance
3736
* @param bool $alwaysAuthenticate

Authorization/Voter/Voter.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,8 @@ abstract protected function supports($attribute, $subject);
6060
* Perform a single access check operation on a given attribute, subject and token.
6161
* It is safe to assume that $attribute and $subject already passed the "supports()" method check.
6262
*
63-
* @param string $attribute
64-
* @param mixed $subject
65-
* @param TokenInterface $token
63+
* @param string $attribute
64+
* @param mixed $subject
6665
*
6766
* @return bool
6867
*/

User/LdapUserProvider.php

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,12 @@ class LdapUserProvider implements UserProviderInterface
3636
private $passwordAttribute;
3737

3838
/**
39-
* @param LdapInterface $ldap
40-
* @param string $baseDn
41-
* @param string $searchDn
42-
* @param string $searchPassword
43-
* @param array $defaultRoles
44-
* @param string $uidKey
45-
* @param string $filter
46-
* @param string $passwordAttribute
39+
* @param string $baseDn
40+
* @param string $searchDn
41+
* @param string $searchPassword
42+
* @param string $uidKey
43+
* @param string $filter
44+
* @param string $passwordAttribute
4745
*/
4846
public function __construct(LdapInterface $ldap, $baseDn, $searchDn = null, $searchPassword = null, array $defaultRoles = [], $uidKey = 'sAMAccountName', $filter = '({uid_key}={username})', $passwordAttribute = null)
4947
{
@@ -122,7 +120,6 @@ public function supportsClass($class)
122120
* Loads a user from an LDAP entry.
123121
*
124122
* @param string $username
125-
* @param Entry $entry
126123
*
127124
* @return User
128125
*/

0 commit comments

Comments
 (0)