mirror of
https://github.com/retailcrm/graphql-php.git
synced 2025-04-10 04:31:02 +00:00
Fixed typo in docs, see #185
This commit is contained in:
parent
b17b1c3336
commit
57f5ee3783
1 changed files with 2 additions and 2 deletions
|
@ -151,7 +151,7 @@ $myErrorHandler = function(array $errors, callable $formatter) {
|
|||
|
||||
$result = GraphQL::executeQuery(/* $args */)
|
||||
->setErrorFormatter($myErrorFormatter)
|
||||
->setErrorHandler($myErrorHandler)
|
||||
->setErrorsHandler($myErrorHandler)
|
||||
->toArray();
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue