Skip to content
This repository was archived by the owner on May 31, 2024. It is now read-only.

Commit 8aa4ba6

Browse files
committed
minor #19773 [Security] Added note inside phpdoc. (Koc)
This PR was squashed before being merged into the 2.8 branch (closes #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 938d17d + 36070c5 commit 8aa4ba6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)