File tree 2 files changed +2
-2
lines changed
ExpressionLanguage/ExpressionFunction
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public function __construct($name = 'isTypeOf')
11
11
parent ::__construct (
12
12
$ name ,
13
13
function ($ className ) {
14
- return sprintf ('($className = %s) && $value instanceof $className ' , $ className );
14
+ return sprintf ('(( $className = %s) && $value instanceof $className) ' , $ className );
15
15
}
16
16
);
17
17
}
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public function __construct($name = 'isAuthenticated')
11
11
parent ::__construct (
12
12
$ name ,
13
13
function () {
14
- return '$globalVariable->get( \'container \')->get( \'security.authorization_checker \')->isGranted( \'IS_AUTHENTICATED_REMEMBERED \') || $globalVariable->get( \'container \')->get( \'security.authorization_checker \')->isGranted( \'IS_AUTHENTICATED_FULLY \') ' ;
14
+ return '( $globalVariable->get( \'container \')->get( \'security.authorization_checker \')->isGranted( \'IS_AUTHENTICATED_REMEMBERED \') || $globalVariable->get( \'container \')->get( \'security.authorization_checker \')->isGranted( \'IS_AUTHENTICATED_FULLY \') ) ' ;
15
15
}
16
16
);
17
17
}
You can’t perform that action at this time.
0 commit comments