Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.

Commit

Permalink
Fix GraphQL namespace example
Browse files Browse the repository at this point in the history
  • Loading branch information
leocavalcante authored Dec 11, 2019
1 parent 1557323 commit a153d82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ type Mutation {

<sub>index.php</sub>
```php
use Siler\Graphql;
use Siler\GraphQL;
use Siler\Http\Response;

// Enable CORS for GraphiQL
Expand All @@ -178,7 +178,7 @@ $resolvers = [
],
];

Graphql\init(Graphql\schema($typeDefs, $resolvers));
GraphQL\init(GraphQL\schema($typeDefs, $resolvers));
```

---
Expand Down

0 comments on commit a153d82

Please sign in to comment.