Skip to content

Commit 2ce310f

Browse files
committed
minor symfony#19773 [Security] Added note inside phpdoc. (Koc)
This PR was squashed before being merged into the 2.8 branch (closes symfony#19773). Discussion ---------- [Security] Added note inside phpdoc. | Q | A | ------------- | --- | Branch? | 2.8 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | - | License | MIT | Doc PR | - Commits ------- c49e462 [Security] Added note inside phpdoc.
2 parents ccf63e6 + c49e462 commit 2ce310f

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)