Skip to content

Commit 8b81a2b

Browse files
committed
fixed some deprecation messages
1 parent 5b32e83 commit 8b81a2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Authorization/AccessDecisionManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function __construct($voters = array(), $strategy = self::STRATEGY_AFFIRM
6161
*/
6262
public function setVoters(array $voters)
6363
{
64-
@trigger_error(sprintf('The %s() method is deprecated since version 3.3 and will be removed in 4.0. Pass the voters to the constructor instead.', __METHOD__), E_USER_DEPRECATED);
64+
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Pass the voters to the constructor instead.', __METHOD__), E_USER_DEPRECATED);
6565

6666
$this->voters = $voters;
6767
}

Authorization/TraceableAccessDecisionManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function decide(TokenInterface $token, array $attributes, $object = null)
6767
*/
6868
public function setVoters(array $voters)
6969
{
70-
@trigger_error(sprintf('The %s() method is deprecated since version 3.3 and will be removed in 4.0. Pass voters to the decorated AccessDecisionManager instead.', __METHOD__), E_USER_DEPRECATED);
70+
@trigger_error(sprintf('The %s() method is deprecated since Symfony 3.3 and will be removed in 4.0. Pass voters to the decorated AccessDecisionManager instead.', __METHOD__), E_USER_DEPRECATED);
7171

7272
if (!method_exists($this->manager, 'setVoters')) {
7373
return;

0 commit comments

Comments
 (0)