summaryrefslogtreecommitdiffstats
path: root/Core
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2016-09-06 09:53:53 -0700
committerFabien Potencier <fabien.potencier@gmail.com>2016-09-06 09:53:53 -0700
commit8aa4ba6e5e458d0f1125a24bce133b15093ee281 (patch)
treedf8f180d379888713576bc91acfd7f8964a22a85 /Core
parent938d17d92b5292b88617de3148b7e3b39ed5bb08 (diff)
parent36070c5f16ad197cd42be6444266aaf4ba7a0e8c (diff)
downloadsymfony-security-8aa4ba6e5e458d0f1125a24bce133b15093ee281.zip
symfony-security-8aa4ba6e5e458d0f1125a24bce133b15093ee281.tar.gz
symfony-security-8aa4ba6e5e458d0f1125a24bce133b15093ee281.tar.bz2
minor #19773 [Security] Added note inside phpdoc. (Koc)v2.8.11
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.
Diffstat (limited to 'Core')
-rw-r--r--Core/Authorization/Voter/Voter.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/Core/Authorization/Voter/Voter.php b/Core/Authorization/Voter/Voter.php
index 8d36fd8..2396b1e 100644
--- a/Core/Authorization/Voter/Voter.php
+++ b/Core/Authorization/Voter/Voter.php
@@ -74,6 +74,7 @@ abstract class Voter implements VoterInterface
/**
* Perform a single access check operation on a given attribute, subject and token.
+ * It is safe to assume that $attribute and $subject already passed the "supports()" method check.
*
* @param string $attribute
* @param mixed $subject