Fixed typo in docs, see #185

This commit is contained in:
Vladimir Razuvaev 2017-10-16 23:05:43 +07:00
parent b17b1c3336
commit 57f5ee3783

View File

@ -151,7 +151,7 @@ $myErrorHandler = function(array $errors, callable $formatter) {
$result = GraphQL::executeQuery(/* $args */) $result = GraphQL::executeQuery(/* $args */)
->setErrorFormatter($myErrorFormatter) ->setErrorFormatter($myErrorFormatter)
->setErrorHandler($myErrorHandler) ->setErrorsHandler($myErrorHandler)
->toArray(); ->toArray();
``` ```