We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@psalm-return
1 parent 78478b0 commit bf58846Copy full SHA for bf58846
Authorization/Voter/VoterInterface.php
@@ -33,9 +33,7 @@ interface VoterInterface
33
* @param mixed $subject The subject to secure
34
* @param array $attributes An array of attributes associated with the method being invoked
35
*
36
- * @return int either ACCESS_GRANTED, ACCESS_ABSTAIN, or ACCESS_DENIED
37
- *
38
- * @psalm-return self::ACCESS_* must be transformed into @return on Symfony 7
+ * @return self::ACCESS_*
39
*/
40
- public function vote(TokenInterface $token, mixed $subject, array $attributes);
+ public function vote(TokenInterface $token, mixed $subject, array $attributes): int;
41
}
0 commit comments