Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit f18f199

Browse files
committed
Update menu_factory.rst
implements -> instanceof
1 parent 7aa39e7 commit f18f199

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bundles/menu/menu_factory.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ the ``MenuReferrerInterface``::
152152
{
153153
$node = $event->getNode();
154154

155-
if ($node implements MenuReferrerInterface) {
155+
if ($node instanceof MenuReferrerInterface) {
156156
$menuName = $node->getMenuName();
157157
$menuOptions = $node->getMenuOptions();
158158

0 commit comments

Comments
 (0)