Skip to content

Commit 6588161

Browse files
authored
Update unions.md
replace semi colon with a comma as it would cause a syntax error
1 parent fa17d6c commit 6588161

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)