Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Type/Definition/FieldDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ class FieldDefinition
* Callback for resolving field value given parent value.
* Mutually exclusive with `map`
*
* @var callable
* @var callable|null
*/
public $resolveFn;

/**
* Callback for mapping list of parent values to list of field values.
* Mutually exclusive with `resolve`
*
* @var callable
* @var callable|null
*/
public $mapFn;

Expand Down
2 changes: 1 addition & 1 deletion src/Type/Definition/ObjectType.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class ObjectType extends Type implements OutputType, CompositeType, NullableType
/** @var ObjectTypeExtensionNode[] */
public $extensionASTNodes;

/** @var callable */
/** @var callable|null */
public $resolveFieldFn;

/** @var FieldDefinition[] */
Expand Down