diff options
author | Fabien Potencier <fabien.potencier@gmail.com> | 2010-12-12 08:02:13 +0100 |
---|---|---|
committer | Fabien Potencier <fabien.potencier@gmail.com> | 2010-12-12 08:02:13 +0100 |
commit | fed3bb4daa2f8205dc0a873d16eddccc3e44bb8a (patch) | |
tree | 2530c0bb88efc377ad5f00cf7cedb3526ed39568 | |
parent | e9da6808ac764f3cfb9e94f7b99b981c4b66da02 (diff) | |
download | symfony-security-fed3bb4daa2f8205dc0a873d16eddccc3e44bb8a.zip symfony-security-fed3bb4daa2f8205dc0a873d16eddccc3e44bb8a.tar.gz symfony-security-fed3bb4daa2f8205dc0a873d16eddccc3e44bb8a.tar.bz2 |
[Security] fixed method visibility
-rw-r--r-- | Authorization/AccessDecisionManager.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Authorization/AccessDecisionManager.php b/Authorization/AccessDecisionManager.php index f927a42..ce9dea5 100644 --- a/Authorization/AccessDecisionManager.php +++ b/Authorization/AccessDecisionManager.php @@ -161,7 +161,7 @@ class AccessDecisionManager implements AccessDecisionManagerInterface * If all voters abstained from voting, the decision will be based on the * allowIfAllAbstainDecisions property value (defaults to false). */ - public function decideConsensus(TokenInterface $token, array $attributes, $object = null) + protected function decideConsensus(TokenInterface $token, array $attributes, $object = null) { $grant = 0; $deny = 0; @@ -208,7 +208,7 @@ class AccessDecisionManager implements AccessDecisionManagerInterface * If all voters abstained from voting, the decision will be based on the * allowIfAllAbstainDecisions property value (defaults to false). */ - public function decideUnanimous(TokenInterface $token, array $attributes, $object = null) + protected function decideUnanimous(TokenInterface $token, array $attributes, $object = null) { $grant = 0; foreach ($attributes as $attribute) { |