Skip to content

Commit 38fbebc

Browse files
Merge branch '4.4'
* 4.4: Remove unneeded phpdocs
2 parents 51f65a9 + 95ff3a4 commit 38fbebc

File tree

5 files changed

+10
-16
lines changed

5 files changed

+10
-16
lines changed

Authentication/AuthenticationManagerInterface.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ interface AuthenticationManagerInterface
2525
/**
2626
* Attempts to authenticate a TokenInterface object.
2727
*
28-
* @param TokenInterface $token The TokenInterface instance to authenticate
29-
*
3028
* @return TokenInterface An authenticated TokenInterface instance, never null
3129
*
3230
* @throws AuthenticationException if the authentication fails

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
*/

Authentication/Token/SwitchUserToken.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,10 @@ class SwitchUserToken extends UsernamePasswordToken
2121
private $originalToken;
2222

2323
/**
24-
* @param string|object $user The username (like a nickname, email address, etc.), or a UserInterface instance or an object implementing a __toString method
25-
* @param mixed $credentials This usually is the password of the user
26-
* @param string $providerKey The provider key
27-
* @param string[] $roles An array of roles
28-
* @param TokenInterface $originalToken The token of the user who switched to the current user
24+
* @param string|object $user The username (like a nickname, email address, etc.), or a UserInterface instance or an object implementing a __toString method
25+
* @param mixed $credentials This usually is the password of the user
26+
* @param string $providerKey The provider key
27+
* @param string[] $roles An array of roles
2928
*
3029
* @throws \InvalidArgumentException
3130
*/

Authorization/TraceableAccessDecisionManager.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,8 @@ public function decide(TokenInterface $token, array $attributes, $object = null)
7070
/**
7171
* Adds voter vote and class to the voter details.
7272
*
73-
* @param VoterInterface $voter voter
74-
* @param array $attributes attributes used for the vote
75-
* @param int $vote vote of the voter
73+
* @param array $attributes attributes used for the vote
74+
* @param int $vote vote of the voter
7675
*/
7776
public function addVoterVote(VoterInterface $voter, array $attributes, int $vote)
7877
{

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(string $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
*/

0 commit comments

Comments
 (0)