Skip to content

Commit d43617f

Browse files
Merge branch '2.7' into 2.8
* 2.7: [DI] minor docblock fixes
2 parents b908b5f + 01a7c65 commit d43617f

15 files changed

+0
-57
lines changed

Authentication/AuthenticationTrustResolverInterface.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@ interface AuthenticationTrustResolverInterface
2626
*
2727
* If null is passed, the method must return false.
2828
*
29-
* @param TokenInterface $token
30-
*
3129
* @return bool
3230
*/
3331
public function isAnonymous(TokenInterface $token = null);
@@ -36,17 +34,13 @@ public function isAnonymous(TokenInterface $token = null);
3634
* Resolves whether the passed token implementation is authenticated
3735
* using remember-me capabilities.
3836
*
39-
* @param TokenInterface $token
40-
*
4137
* @return bool
4238
*/
4339
public function isRememberMe(TokenInterface $token = null);
4440

4541
/**
4642
* Resolves whether the passed token implementation is fully authenticated.
4743
*
48-
* @param TokenInterface $token
49-
*
5044
* @return bool
5145
*/
5246
public function isFullFledged(TokenInterface $token = null);

Authentication/Provider/AuthenticationProviderInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ interface AuthenticationProviderInterface extends AuthenticationManagerInterface
2727
/**
2828
* Checks whether this provider supports the given token.
2929
*
30-
* @param TokenInterface $token A TokenInterface instance
31-
*
3230
* @return bool true if the implementation supports the Token, false otherwise
3331
*/
3432
public function supports(TokenInterface $token);

Authentication/Provider/PreAuthenticatedAuthenticationProvider.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ class PreAuthenticatedAuthenticationProvider implements AuthenticationProviderIn
3434
private $userChecker;
3535
private $providerKey;
3636

37-
/**
38-
* @param UserProviderInterface $userProvider An UserProviderInterface instance
39-
* @param UserCheckerInterface $userChecker An UserCheckerInterface instance
40-
* @param string $providerKey The provider key
41-
*/
4237
public function __construct(UserProviderInterface $userProvider, UserCheckerInterface $userChecker, $providerKey)
4338
{
4439
$this->userProvider = $userProvider;

Authentication/Provider/UserAuthenticationProvider.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,6 @@ public function supports(TokenInterface $token)
108108
/**
109109
* Retrieves roles from user and appends SwitchUserRole if original token contained one.
110110
*
111-
* @param UserInterface $user The user
112-
* @param TokenInterface $token The token
113-
*
114111
* @return array The user roles
115112
*/
116113
private function getRoles(UserInterface $user, TokenInterface $token)
@@ -144,9 +141,6 @@ abstract protected function retrieveUser($username, UsernamePasswordToken $token
144141
* Does additional checks on the user and token (like validating the
145142
* credentials).
146143
*
147-
* @param UserInterface $user The retrieved UserInterface instance
148-
* @param UsernamePasswordToken $token The UsernamePasswordToken token to be authenticated
149-
*
150144
* @throws AuthenticationException if the credentials could not be validated
151145
*/
152146
abstract protected function checkAuthentication(UserInterface $user, UsernamePasswordToken $token);

Authentication/RememberMe/TokenProviderInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,6 @@ public function updateToken($series, $tokenValue, \DateTime $lastUsed);
5151

5252
/**
5353
* Creates a new token.
54-
*
55-
* @param PersistentTokenInterface $token
5654
*/
5755
public function createNewToken(PersistentTokenInterface $token);
5856
}

Authorization/Voter/AuthenticatedVoter.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,6 @@ class AuthenticatedVoter implements VoterInterface
3131

3232
private $authenticationTrustResolver;
3333

34-
/**
35-
* @param AuthenticationTrustResolverInterface $authenticationTrustResolver
36-
*/
3734
public function __construct(AuthenticationTrustResolverInterface $authenticationTrustResolver)
3835
{
3936
$this->authenticationTrustResolver = $authenticationTrustResolver;

Authorization/Voter/ExpressionVoter.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ class ExpressionVoter implements VoterInterface
3030
private $trustResolver;
3131
private $roleHierarchy;
3232

33-
/**
34-
* @param ExpressionLanguage $expressionLanguage
35-
* @param AuthenticationTrustResolverInterface $trustResolver
36-
* @param RoleHierarchyInterface|null $roleHierarchy
37-
*/
3833
public function __construct(ExpressionLanguage $expressionLanguage, AuthenticationTrustResolverInterface $trustResolver, RoleHierarchyInterface $roleHierarchy = null)
3934
{
4035
$this->expressionLanguage = $expressionLanguage;

Encoder/EncoderFactory.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,6 @@ public function getEncoder($user)
6161
/**
6262
* Creates the actual encoder instance.
6363
*
64-
* @param array $config
65-
*
6664
* @return PasswordEncoderInterface
6765
*
6866
* @throws \InvalidArgumentException

Encoder/UserPasswordEncoder.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,8 @@
2020
*/
2121
class UserPasswordEncoder implements UserPasswordEncoderInterface
2222
{
23-
/**
24-
* @var EncoderFactoryInterface
25-
*/
2623
private $encoderFactory;
2724

28-
/**
29-
* @param EncoderFactoryInterface $encoderFactory The encoder factory
30-
*/
3125
public function __construct(EncoderFactoryInterface $encoderFactory)
3226
{
3327
$this->encoderFactory = $encoderFactory;

Exception/AccountStatusException.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,6 @@ public function getUser()
3434
return $this->user;
3535
}
3636

37-
/**
38-
* Set the user.
39-
*
40-
* @param UserInterface $user
41-
*/
4237
public function setUser(UserInterface $user)
4338
{
4439
$this->user = $user;

Exception/AuthenticationException.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,6 @@ public function getToken()
3333
return $this->token;
3434
}
3535

36-
/**
37-
* Set the token.
38-
*
39-
* @param TokenInterface $token
40-
*/
4136
public function setToken(TokenInterface $token)
4237
{
4338
$this->token = $token;

User/EquatableInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ interface EquatableInterface
2929
* Also implementation should consider that $user instance may implement
3030
* the extended user interface `AdvancedUserInterface`.
3131
*
32-
* @param UserInterface $user
33-
*
3432
* @return bool
3533
*/
3634
public function isEqualTo(UserInterface $user);

User/InMemoryUserProvider.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ public function __construct(array $users = array())
4747
/**
4848
* Adds a new User to the provider.
4949
*
50-
* @param UserInterface $user A UserInterface instance
51-
*
5250
* @throws \LogicException
5351
*/
5452
public function createUser(UserInterface $user)

User/UserCheckerInterface.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,13 @@ interface UserCheckerInterface
2626
/**
2727
* Checks the user account before authentication.
2828
*
29-
* @param UserInterface $user a UserInterface instance
30-
*
3129
* @throws AccountStatusException
3230
*/
3331
public function checkPreAuth(UserInterface $user);
3432

3533
/**
3634
* Checks the user account after authentication.
3735
*
38-
* @param UserInterface $user a UserInterface instance
39-
*
4036
* @throws AccountStatusException
4137
*/
4238
public function checkPostAuth(UserInterface $user);

User/UserProviderInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ public function loadUserByUsername($username);
5555
* object can just be merged into some internal array of users / identity
5656
* map.
5757
*
58-
* @param UserInterface $user
59-
*
6058
* @return UserInterface
6159
*
6260
* @throws UnsupportedUserException if the user is not supported

0 commit comments

Comments
 (0)