We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
18 | 29 | public function __construct($name = 'isAuthenticated') |
|
19 | { |
||
20 | 29 | parent::__construct( |
|
21 | 29 | $name, |
|
22 | 1 | function () { |
|
23 | 1 | return '$container->get(\'security.authorization_checker\')->isGranted(\'IS_AUTHENTICATED_REMEMBERED\') || $container->get(\'security.authorization_checker\')->isGranted(\'IS_AUTHENTICATED_FULLY\')'; |
|
24 | } |
||
25 | 29 | ); |
|
26 | 29 | } |
|
27 | } |
||
28 |