mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-04-04 13:13:30 +03:00
Add undefined variable complexityFn and fix typehint
This commit is contained in:
parent
639f493e47
commit
19235f5a2d
1 changed files with 6 additions and 1 deletions
|
@ -62,6 +62,11 @@ class FieldDefinition
|
|||
*/
|
||||
public $config;
|
||||
|
||||
/**
|
||||
* @var null|callable
|
||||
*/
|
||||
public $complexityFn;
|
||||
|
||||
/**
|
||||
* @var OutputType
|
||||
*/
|
||||
|
@ -108,7 +113,7 @@ class FieldDefinition
|
|||
}
|
||||
|
||||
/**
|
||||
* @param array|Config $field
|
||||
* @param array $field
|
||||
* @param string $typeName
|
||||
* @return FieldDefinition
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue