Skip to content

Commit f57e299

Browse files
kay-scheckergithub-actions[bot]
authored andcommitted
Apply php-cs-fixer changes
1 parent e351749 commit f57e299

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

src/Type/Definition/Directive.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ public static function includeDirective(): Directive
8686
}
8787

8888
/**
89-
* @return array<string, Directive>
9089
* @throws InvariantViolation
9190
*
91+
* @return array<string, Directive>
9292
*/
9393
public static function getInternalDirectives(): array
9494
{

src/Type/Definition/ScalarType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ abstract class ScalarType extends Type implements OutputType, InputType, LeafTyp
3838
use NamedTypeImplementation;
3939

4040
public ?ScalarTypeDefinitionNode $astNode;
41+
4142
public ?string $specifiedByURL;
4243

4344
/** @var array<ScalarTypeExtensionNode> */

src/Utils/ASTDefinitionBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,8 +528,8 @@ private function makeUnionDef(UnionTypeDefinitionNode $def): UnionType
528528
}
529529

530530
/**
531-
* @throws InvariantViolation
532531
* @throws \Exception
532+
* @throws InvariantViolation
533533
*/
534534
private function makeScalarDef(ScalarTypeDefinitionNode $def): CustomScalarType
535535
{

src/Utils/SchemaPrinter.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -456,8 +456,6 @@ protected static function printDeprecated($deprecation): string
456456
}
457457

458458
/**
459-
* @param ScalarType $type
460-
*
461459
* @throws \JsonException
462460
* @throws InvariantViolation
463461
* @throws SerializationError

tests/Utils/BuildSchemaTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ public function testBuildSchemaDirectlyFromSource(): void
108108
');
109109

110110
$root = [
111-
'add' => static fn($rootValue, array $args): int => $args['x'] + $args['y'],
111+
'add' => static fn ($rootValue, array $args): int => $args['x'] + $args['y'],
112112
];
113113

114114
$result = GraphQL::executeQuery(

0 commit comments

Comments
 (0)