Skip to content

Commit 9d150c7

Browse files
authored
Merge pull request #147 from swinyx/patch-1
Fixed typo in unions.md
2 parents fa17d6c + 6588161 commit 9d150c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/type-system/unions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ $searchResultType = new UnionType([
1111
'types' => [
1212
MyTypes::story(),
1313
MyTypes::user()
14-
];
14+
],
1515
'resolveType' => function($value) {
1616
if ($value->type === 'story') {
1717
return MyTypes::story();

0 commit comments

Comments
 (0)