Skip to content

Commit a9f9ac8

Browse files
mdeboerwouterj
authored andcommitted
Improve some PHPdocs based on existing Symfony stubs in PHPstan and Psalm
1 parent fe825b4 commit a9f9ac8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Authorization/Voter/VoterInterface.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ interface VoterInterface
3434
* @param array $attributes An array of attributes associated with the method being invoked
3535
*
3636
* @return int either ACCESS_GRANTED, ACCESS_ABSTAIN, or ACCESS_DENIED
37+
* @psalm-return self::ACCESS_* must be transformed into @return on Symfony 7
3738
*/
3839
public function vote(TokenInterface $token, mixed $subject, array $attributes);
3940
}

0 commit comments

Comments
 (0)