mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +02:00
parent
0cedcf1fcd
commit
ed9a6aa39d
@ -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)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user