We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | $name, |
16 | - fn (string $serviceId) => "$this->globalVars->get('container')->get($serviceId)", |
|
17 | - static fn (array $arguments, $serviceId) => $arguments[TypeGenerator::GLOBAL_VARS]->get('container')->get($serviceId) |
|
16 | + fn(string $serviceId) => "$this->globalVars->get('container')->get($serviceId)", |
|
17 | + static fn(array $arguments, $serviceId) => $arguments[TypeGenerator::GLOBAL_VARS]->get('container')->get($serviceId) |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | $name, |
16 | - fn (string $value) => "$this->globalVars->get('container')->getParameter($value)", |
|
17 | - static fn (array $arguments, $paramName) => $arguments[TypeGenerator::GLOBAL_VARS]->get('container')->getParameter($paramName) |
|
16 | + fn(string $value) => "$this->globalVars->get('container')->getParameter($value)", |
|
17 | + static fn(array $arguments, $paramName) => $arguments[TypeGenerator::GLOBAL_VARS]->get('container')->getParameter($paramName) |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -12,8 +12,8 @@ |
||
12 | 12 | { |
13 | 13 | parent::__construct( |
14 | 14 | 'newObject', |
15 | - static fn ($className, $args = '[]') => "(new \\ReflectionClass($className))->newInstanceArgs($args)", |
|
16 | - static fn ($arguments, $className, $args = []) => new $className(...$args) |
|
15 | + static fn($className, $args = '[]') => "(new \\ReflectionClass($className))->newInstanceArgs($args)", |
|
16 | + static fn($arguments, $className, $args = []) => new $className(...$args) |
|
17 | 17 | ); |
18 | 18 | } |
19 | 19 | } |
@@ -13,8 +13,8 @@ |
||
13 | 13 | { |
14 | 14 | parent::__construct( |
15 | 15 | 'arguments', |
16 | - fn ($mapping, $data) => "$this->globalVars->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, \$info)", |
|
17 | - static fn (array $arguments, $mapping, $data) => $arguments[TypeGenerator::GLOBAL_VARS]->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, $arguments['info']) |
|
16 | + fn($mapping, $data) => "$this->globalVars->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, \$info)", |
|
17 | + static fn(array $arguments, $mapping, $data) => $arguments[TypeGenerator::GLOBAL_VARS]->get('container')->get('overblog_graphql.arguments_transformer')->getArguments($mapping, $data, $arguments['info']) |
|
18 | 18 | ); |
19 | 19 | } |
20 | 20 | } |
@@ -64,7 +64,7 @@ |
||
64 | 64 | */ |
65 | 65 | public function getMethodsNames(): array |
66 | 66 | { |
67 | - return array_map(fn (ReflectionMethod $method) => $method->getName(), $this->getMethods()); |
|
67 | + return array_map(fn(ReflectionMethod $method) => $method->getName(), $this->getMethods()); |
|
68 | 68 | } |
69 | 69 | |
70 | 70 | public function getMethodAnnotations(string $name): array |