Skip to content
This repository was archived by the owner on Feb 10, 2019. It is now read-only.

Commit e5e8047

Browse files
committed
fix typo
1 parent 171631a commit e5e8047

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/advanced.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function fields()
6363
],
6464
];
6565
}
66-
66+
6767
public function resolvePostsField($root, $args)
6868
{
6969
if (isset($args['id'])) {
@@ -106,7 +106,7 @@ Register the Enum in the 'types' array of the graphql.php config file:
106106

107107
```php
108108
// config/graphql.php
109-
'types' => [TestEnum' => TestEnumType::class ];
109+
'types' => ['TestEnum' => TestEnumType::class ];
110110
```
111111

112112
Then use it like:
@@ -144,7 +144,7 @@ class CharacterInterface extends InterfaceType {
144144
'name' => 'Character',
145145
'description' => 'Character interface.',
146146
];
147-
147+
148148
public function fields() {
149149
return [
150150
'id' => [
@@ -157,7 +157,7 @@ class CharacterInterface extends InterfaceType {
157157
],
158158
];
159159
}
160-
160+
161161
public function resolveType($root) {
162162
// Use the resolveType to resolve the Type which is implemented trough this interface
163163
$type = $root['type'];
@@ -457,4 +457,4 @@ For example, if you use homestead:
457457

458458
```
459459
http://homestead.app/graphql?query=query+FetchUsers{users{uuid, email, team{name}}}
460-
```
460+
```

0 commit comments

Comments
 (0)