We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -34,7 +34,7 @@ |
||
34 | 34 | ?string $type = null, |
35 | 35 | ?string $resolve = null, |
36 | 36 | ?string $complexity = null, |
37 | - array|string|null $targetTypes = null |
|
37 | + array | string | null $targetTypes = null |
|
38 | 38 | ) { |
39 | 39 | parent::__construct($name, $type, $resolve, $complexity); |
40 | 40 | if ($targetTypes) { |
@@ -346,7 +346,7 @@ discard block |
||
346 | 346 | |
347 | 347 | $buildersAnnotations = self::getMetadataMatching($metadatas, Metadata\FieldsBuilder::class); |
348 | 348 | if (!empty($buildersAnnotations)) { |
349 | - $typeConfiguration['builders'] = array_map(fn ($fieldsBuilderAnnotation) => ['builder' => $fieldsBuilderAnnotation->name, 'builderConfig' => $fieldsBuilderAnnotation->config], $buildersAnnotations); |
|
349 | + $typeConfiguration['builders'] = array_map(fn($fieldsBuilderAnnotation) => ['builder' => $fieldsBuilderAnnotation->name, 'builderConfig' => $fieldsBuilderAnnotation->config], $buildersAnnotations); |
|
350 | 350 | } |
351 | 351 | |
352 | 352 | if (isset($typeAnnotation->isTypeOf)) { |
@@ -440,7 +440,7 @@ discard block |
||
440 | 440 | $reflectionConstant = new ReflectionClassConstant($reflectionClass->getName(), $name); |
441 | 441 | $valueConfig = self::getDescriptionConfiguration(static::getMetadatas($reflectionConstant), true); |
442 | 442 | |
443 | - $enumValueAnnotation = current(array_filter($enumValues, fn ($enumValueAnnotation) => $enumValueAnnotation->name === $name)); |
|
443 | + $enumValueAnnotation = current(array_filter($enumValues, fn($enumValueAnnotation) => $enumValueAnnotation->name === $name)); |
|
444 | 444 | $valueConfig['value'] = $value; |
445 | 445 | |
446 | 446 | if (false !== $enumValueAnnotation) { |
@@ -34,7 +34,7 @@ |
||
34 | 34 | ?string $type = null, |
35 | 35 | ?string $resolve = null, |
36 | 36 | ?string $complexity = null, |
37 | - array|string|null $targetTypes = null |
|
37 | + array | string | null $targetTypes = null |
|
38 | 38 | ) { |
39 | 39 | parent::__construct($name, $type, $resolve, $complexity); |
40 | 40 | if ($targetTypes) { |