Skip to content

Commit

Permalink
docs(queries): Add missing closing bracket in code example (#1092)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevenpescador authored Nov 6, 2020
1 parent a9dac5e commit 2c356bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/queries/menus.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ protected function getResolverRegistry() {
$registry->addFieldResolver('MenuItem', 'title',
$builder->produce('menu_link_label')
->map('link', $builder->produce('menu_tree_link')
->map('element', $builder->fromParent())
->map('element', $builder->fromParent()))
);

// Menu children.
Expand All @@ -83,7 +83,7 @@ protected function getResolverRegistry() {
$registry->addFieldResolver('MenuItem', 'url',
$builder->produce('menu_link_url')
->map('link', $builder->produce('menu_tree_link')
->map('element', $builder->fromParent())
->map('element', $builder->fromParent()))
);

$registry->addFieldResolver('Url', 'path',
Expand Down

0 comments on commit 2c356bb

Please sign in to comment.