From eb1f0359da06c783d1288a20dfab6e34997adfa3 Mon Sep 17 00:00:00 2001 From: Mark Woynarski Date: Thu, 14 May 2020 14:58:44 -0600 Subject: [PATCH] Remove constructor from interface --- src/Kunstmaan/NodeBundle/Helper/NodeMenu.php | 7 ++++--- .../NodeBundle/Helper/NodeMenuItemInterface.php | 10 ---------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/src/Kunstmaan/NodeBundle/Helper/NodeMenu.php b/src/Kunstmaan/NodeBundle/Helper/NodeMenu.php index 283021f011..dcbd7334d4 100644 --- a/src/Kunstmaan/NodeBundle/Helper/NodeMenu.php +++ b/src/Kunstmaan/NodeBundle/Helper/NodeMenu.php @@ -113,10 +113,11 @@ public function __construct( } /** - * @param Node $node + * @param Node $node * @param NodeTranslation $nodeTranslation - * @param bool $parent - * @param NodeMenu $menu + * @param bool $parent + * @param NodeMenu $menu + * * @return NodeMenuItemInterface */ protected function createMenuItem(Node $node, NodeTranslation $nodeTranslation, $parent = false, NodeMenu $menu) diff --git a/src/Kunstmaan/NodeBundle/Helper/NodeMenuItemInterface.php b/src/Kunstmaan/NodeBundle/Helper/NodeMenuItemInterface.php index 96a2328f17..3742e1e212 100644 --- a/src/Kunstmaan/NodeBundle/Helper/NodeMenuItemInterface.php +++ b/src/Kunstmaan/NodeBundle/Helper/NodeMenuItemInterface.php @@ -1,23 +1,13 @@