The property description does not seem to exist in GraphQL\Language\AST\Node.
An attempt at access to an undefined property has been detected. This may either be a typographical error
or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods
to allow access. See the php core documentation on Overloading.
The expression self::cleanAstDescription($node->description); of type null|string adds the type string to the return on line 11 which is incompatible with the return type declared by the interface Overblog\GraphQLBundle\C...NodeInterface::toConfig of type array.
Loading history...
12
}
13
14
2
private static function cleanAstDescription($description)
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.