From ed9a6aa39de6ee53f77285a050a24561c3332651 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Sun, 27 Sep 2015 12:22:41 +0200 Subject: [PATCH] lib: Fix Navigation::addItem() refs #5543 --- library/Icinga/Web/Navigation/Navigation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Navigation/Navigation.php b/library/Icinga/Web/Navigation/Navigation.php index 3ec0fd7de..c59350b35 100644 --- a/library/Icinga/Web/Navigation/Navigation.php +++ b/library/Icinga/Web/Navigation/Navigation.php @@ -139,7 +139,7 @@ class Navigation implements ArrayAccess, Countable, IteratorAggregate * @return $this * @throws InvalidArgumentException If the item argument is invalid */ - public function addItem(NavigationItem $item) + public function addItem($item) { if (! $item instanceof NavigationItem) { if (! is_array($item)) {