We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -12,8 +12,8 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | 'hasRole', |
15 | - static fn ($role) => "$this->globalVars->get('security')->hasRole($role)", |
|
16 | - static fn (array $arguments, $role) => $arguments['globalVariables']->get('security')->hasRole($role) |
|
15 | + static fn($role) => "$this->globalVars->get('security')->hasRole($role)", |
|
16 | + static fn(array $arguments, $role) => $arguments['globalVariables']->get('security')->hasRole($role) |
|
17 | 17 | ); |
18 | 18 | } |
19 | 19 | } |
@@ -12,8 +12,8 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | 'isRememberMe', |
15 | - static fn () => "$this->globalVars->get('security')->isRememberMe()", |
|
16 | - static fn (array $arguments) => $arguments['globalVariables']->get('security')->isRememberMe() |
|
15 | + static fn() => "$this->globalVars->get('security')->isRememberMe()", |
|
16 | + static fn(array $arguments) => $arguments['globalVariables']->get('security')->isRememberMe() |
|
17 | 17 | ); |
18 | 18 | } |
19 | 19 | } |
@@ -12,8 +12,8 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | $name, |
15 | - static fn (string $value) => "$this->globalVars->get('container')->getParameter($value)", |
|
16 | - static fn (array $arguments, $paramName) => $arguments['globalVariables']->get('container')->getParameter($paramName) |
|
15 | + static fn(string $value) => "$this->globalVars->get('container')->getParameter($value)", |
|
16 | + static fn(array $arguments, $paramName) => $arguments['globalVariables']->get('container')->getParameter($paramName) |
|
17 | 17 | ); |
18 | 18 | } |
19 | 19 | } |
@@ -12,8 +12,8 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | $name, |
15 | - static fn (string $serviceId) => "$this->globalVars->get('container')->get($serviceId)", |
|
16 | - static fn (array $arguments, $serviceId) => $arguments['globalVariables']->get('container')->get($serviceId) |
|
15 | + static fn(string $serviceId) => "$this->globalVars->get('container')->get($serviceId)", |
|
16 | + static fn(array $arguments, $serviceId) => $arguments['globalVariables']->get('container')->get($serviceId) |
|
17 | 17 | ); |
18 | 18 | } |
19 | 19 | } |