summaryrefslogtreecommitdiffstats
path: root/Core/Authorization
diff options
context:
space:
mode:
authorFabien Potencier <fabien.potencier@gmail.com>2016-09-06 16:30:54 -0700
committerFabien Potencier <fabien.potencier@gmail.com>2016-09-06 16:30:54 -0700
commitd75aac76395cec69bdb87711a96fa91e8be14f3d (patch)
tree7cba0aef09cd864dc8d7c1e257b59bb414ad27c8 /Core/Authorization
parente6b53bf6ec4ae92d13bce9a1da994b65ca9b3f04 (diff)
parent8aa4ba6e5e458d0f1125a24bce133b15093ee281 (diff)
downloadsymfony-security-d75aac76395cec69bdb87711a96fa91e8be14f3d.zip
symfony-security-d75aac76395cec69bdb87711a96fa91e8be14f3d.tar.gz
symfony-security-d75aac76395cec69bdb87711a96fa91e8be14f3d.tar.bz2
Merge branch '2.8' into 3.1
* 2.8: [FrameworkBundle] Fix Incorrect line break in exception message (500 debug page) [Security] Added note inside phpdoc. Minor cleanups and improvements [form] lazy trans `post_max_size_message`. [DI] Fix setting synthetic services on ContainerBuilder [ClassLoader] Fix ClassCollectionLoader inlining with declare(strict_types=1)
Diffstat (limited to 'Core/Authorization')
-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 ba4d6af..0641486 100644
--- a/Core/Authorization/Voter/Voter.php
+++ b/Core/Authorization/Voter/Voter.php
@@ -58,6 +58,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