mirror of
https://github.com/retailcrm/graphql-php.git
synced 2024-11-22 04:46:04 +03:00
Add undefined variable complexityFn and fix typehint
This commit is contained in:
parent
639f493e47
commit
19235f5a2d
@ -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…
Reference in New Issue
Block a user