@@ -393,10 +393,10 @@ protected function getOperationRootType(Schema $schema, OperationDefinitionNode
393
393
*
394
394
* @phpstan-param Fields $fields
395
395
*
396
- * @phpstan-return Fields
397
- *
398
396
* @throws \Exception
399
397
* @throws Error
398
+ *
399
+ * @phpstan-return Fields
400
400
*/
401
401
protected function collectFields (
402
402
ObjectType $ runtimeType ,
@@ -596,12 +596,11 @@ function ($results, $responseName) use ($contextValue, $path, $unaliasedPath, $p
596
596
* @param list<string|int> $path
597
597
* @param list<string|int> $unaliasedPath
598
598
* @param mixed $contextValue
599
+ * @param \ArrayObject<int, FieldNode> $fieldNodes
599
600
*
600
601
* @phpstan-param Path $path
601
602
* @phpstan-param Path $unaliasedPath
602
603
*
603
- * @param \ArrayObject<int, FieldNode> $fieldNodes
604
- *
605
604
* @throws Error
606
605
* @throws InvariantViolation
607
606
*
@@ -765,12 +764,11 @@ protected function resolveFieldValueOrError(
765
764
* @param list<string|int> $path
766
765
* @param list<string|int> $unaliasedPath
767
766
* @param mixed $contextValue
767
+ * @param mixed $result
768
768
*
769
769
* @phpstan-param Path $path
770
770
* @phpstan-param Path $unaliasedPath
771
771
*
772
- * @param mixed $result
773
- *
774
772
* @throws Error
775
773
*
776
774
* @return array<mixed>|Promise|\stdClass|null
@@ -1321,10 +1319,10 @@ protected function collectAndExecuteSubfields(
1321
1319
*
1322
1320
* @param \ArrayObject<int, FieldNode> $fieldNodes
1323
1321
*
1324
- * @phpstan-return Fields
1325
- *
1326
1322
* @throws \Exception
1327
1323
* @throws Error
1324
+ *
1325
+ * @phpstan-return Fields
1328
1326
*/
1329
1327
protected function collectSubFields (ObjectType $ returnType , \ArrayObject $ fieldNodes ): \ArrayObject
1330
1328
{
0 commit comments