We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -14,7 +14,7 @@ |
||
14 | 14 | { |
15 | 15 | parent::__construct( |
16 | 16 | 'mutateAndGetPayloadCallback', |
17 | - static fn ($mutateAndGetPayload) => ( |
|
17 | + static fn($mutateAndGetPayload) => ( |
|
18 | 18 | Closure::new() |
19 | 19 | ->addArgument('value') |
20 | 20 | ->bindVars(TypeGenerator::GRAPHQL_SERVICES, 'args', 'context', 'info') |
@@ -14,7 +14,7 @@ |
||
14 | 14 | { |
15 | 15 | parent::__construct( |
16 | 16 | 'idFetcherCallback', |
17 | - static fn ($idFetcher) => ( |
|
17 | + static fn($idFetcher) => ( |
|
18 | 18 | Closure::new() |
19 | 19 | ->addArgument('value') |
20 | 20 | ->bindVars(TypeGenerator::GRAPHQL_SERVICES, 'args', 'context', 'info') |
@@ -81,7 +81,7 @@ |
||
81 | 81 | { |
82 | 82 | return array_reduce( |
83 | 83 | explode('.', $location), |
84 | - fn ($carry, $item) => "{$carry}[$item]" |
|
84 | + fn($carry, $item) => "{$carry}[$item]" |
|
85 | 85 | ); |
86 | 86 | } |
87 | 87 |
@@ -27,6 +27,6 @@ |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | // @phpstan-ignore-next-line |
30 | - return array_map(fn (ReflectionAttribute $attribute) => $attribute->newInstance(), $attributes); |
|
30 | + return array_map(fn(ReflectionAttribute $attribute) => $attribute->newInstance(), $attributes); |
|
31 | 31 | } |
32 | 32 | } |
@@ -442,7 +442,7 @@ |
||
442 | 442 | $reflectionConstant = new ReflectionClassConstant($reflectionClass->getName(), $name); |
443 | 443 | $valueConfig = self::getDescriptionConfiguration(static::getMetadatas($reflectionConstant), true); |
444 | 444 | |
445 | - $enumValueAnnotation = current(array_filter($enumValues, fn ($enumValueAnnotation) => $enumValueAnnotation->name === $name)); |
|
445 | + $enumValueAnnotation = current(array_filter($enumValues, fn($enumValueAnnotation) => $enumValueAnnotation->name === $name)); |
|
446 | 446 | $valueConfig['value'] = $value; |
447 | 447 | |
448 | 448 | if (false !== $enumValueAnnotation) { |