8000 [Security] Added note inside phpdoc. · symfony/symfony@c49e462 · GitHub
[go: up one dir, main page]

Skip to content

Commit c49e462

Browse files
Kocfabpot
authored andcommitted
[Security] Added note inside phpdoc.
1 parent 2980fb8 commit c49e462

File tree

1 file changed

+1
-0
lines changed
  • src/Symfony/Component/Security/Core/Authorization/Voter

1 file changed

+1
-0
lines changed

src/Symfony/Component/Security/Core/Authorization/Voter/Voter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ abstract protected function supports($attribute, $subject);
7474

7575
/**
7676
* Perform a single access check operation on a given attribute, subject and token.
77+
* It is safe to assume that $attribute and $subject already passed the "supports()" method check.
7778
*
7879
* @param string $attribute
7980
* @param mixed $subject

0 commit comments

Comments
 (0)
0