summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Authorization/AccessDecisionManager.php4
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) {