File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 13
13
14
14
use Symfony \Component \Security \Acl \Voter \FieldVote ;
15
15
use Symfony \Component \Templating \Helper \Helper ;
16
- use Symfony \Component \Security \Core \SecurityContextInterface ;
17
16
use Symfony \Component \Security \Core \Authorization \AuthorizationCheckerInterface ;
18
17
19
18
/**
@@ -25,12 +24,7 @@ class SecurityHelper extends Helper
25
24
{
26
25
private $ securityChecker ;
27
26
28
- /**
29
- * @param SecurityContextInterface|AuthorizationCheckerInterface
30
- *
31
- * Passing a SecurityContextInterface as a first argument was deprecated in 2.7 and will be removed in 3.0
32
- */
33
- public function __construct ($ securityChecker = null )
27
+ public function __construct (AuthorizationCheckerInterface $ securityChecker = null )
34
28
{
35
29
$ this ->securityChecker = $ securityChecker ;
36
30
}
You can’t perform that action at this time.
0 commit comments