Add undefined variable complexityFn and fix typehint

This commit is contained in:
Jeremiah VALERIE 2018-08-23 09:15:08 +02:00
parent 639f493e47
commit 19235f5a2d
No known key found for this signature in database
GPG Key ID: 668676FD50ADF244

View File

@ -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
*/