summaryrefslogtreecommitdiffstats
path: root/Core
diff options
context:
space:
mode:
authorKonstantin Myakshin <koc-dp@yandex.ru>2016-08-29 14:19:30 +0300
committerFabien Potencier <fabien.potencier@gmail.com>2016-09-06 09:53:48 -0700
commit36070c5f16ad197cd42be6444266aaf4ba7a0e8c (patch)
treea56a4ea2eb8b233f94b0e172beaa459c27a87eeb /Core
parentcc1acd8d76c84b8bddbf0ad884954ba0523e5c7d (diff)
downloadsymfony-security-36070c5f16ad197cd42be6444266aaf4ba7a0e8c.zip
symfony-security-36070c5f16ad197cd42be6444266aaf4ba7a0e8c.tar.gz
symfony-security-36070c5f16ad197cd42be6444266aaf4ba7a0e8c.tar.bz2
[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