Skip to content

Commit

Permalink
php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
spawnia committed Dec 4, 2024
1 parent 2507d7c commit e6ac780
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions src/Type/Definition/ResolveInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,14 @@ class ResolveInfo
/**
* @param \ArrayObject<int, FieldNode> $fieldNodes
* @param list<string|int> $path
*
* @phpstan-param Path $path
*
* @param array<string, FragmentDefinitionNode> $fragments
* @param mixed|null $rootValue
* @param array<string, mixed> $variableValues
* @param list<string|int> $unaliasedPath
*
* @phpstan-param Path $unaliasedPath
*/
public function __construct(
Expand Down
20 changes: 10 additions & 10 deletions tests/Type/ResolveInfoTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ public function testFieldSelectionWithAlias(): void
],
],
],
]
],
], $aliasArgs);
break;
case 'NoAliasLast':
Expand All @@ -708,7 +708,7 @@ public function testFieldSelectionWithAlias(): void
],
],
],
]
],
], $aliasArgs);
break;
case 'AllAliases':
Expand All @@ -728,7 +728,7 @@ public function testFieldSelectionWithAlias(): void
],
],
],
]
],
], $aliasArgs);
break;
case 'MultiLvlSameAliasName':
Expand Down Expand Up @@ -772,7 +772,7 @@ public function testFieldSelectionWithAlias(): void
],
],
],
]
],
], $aliasArgs);
break;
case 'DeepestTooLowDepth':
Expand Down Expand Up @@ -831,7 +831,7 @@ public function testFieldSelectionWithAlias(): void
],
],
],
]
],
], $aliasArgs);
break;
default:
Expand All @@ -847,7 +847,7 @@ public function testFieldSelectionWithAlias(): void
'resolve' => fn (): bool => true,
'args' => [
'crazyness' => [
'type' => Type::float()
'type' => Type::float(),
],
],
],
Expand All @@ -862,7 +862,7 @@ public function testFieldSelectionWithAlias(): void
'resolve' => fn (): bool => true,
'args' => [
'temperature' => [
'type' => Type::int()
'type' => Type::int(),
],
],
],
Expand All @@ -881,7 +881,7 @@ public function testFieldSelectionWithAlias(): void
'resolve' => fn (): bool => true,
'args' => [
'length' => [
'type' => Type::int()
'type' => Type::int(),
],
],
],
Expand All @@ -903,7 +903,7 @@ public function testFieldSelectionWithAlias(): void
'type' => Type::nonNull(Type::int()),
],
'height' => [
'type' => Type::int()
'type' => Type::int(),
],
],
],
Expand All @@ -922,7 +922,7 @@ public function testFieldSelectionWithAlias(): void
'resolve' => $returnResolveInfo,
'args' => [
'testName' => [
'type' => Type::string()
'type' => Type::string(),
],
],
],
Expand Down

0 comments on commit e6ac780

Please sign in to comment.