Skip to content

Commit

Permalink
lib: Fix Navigation::addItem()
Browse files Browse the repository at this point in the history
refs #5543
  • Loading branch information
lippserd committed Sep 27, 2015
1 parent 0cedcf1 commit ed9a6aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/Icinga/Web/Navigation/Navigation.php
Expand Up @@ -139,7 +139,7 @@ public function getIterator()
* @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)) {
Expand Down

0 comments on commit ed9a6aa

Please sign in to comment.