From 3a74f49182fc844027c68e54670e07aad0b036e1 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 23 Jun 2015 12:56:19 +0200 Subject: [PATCH] stricter typing in GroupsNav menu widget --- lib/groupsnav.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/groupsnav.php b/lib/groupsnav.php index 8e5d1a39fb..f047e16a60 100644 --- a/lib/groupsnav.php +++ b/lib/groupsnav.php @@ -91,7 +91,7 @@ class GroupsNav extends MoreMenu _('See all groups you belong to.')); } - function item($actionName, $args, $label, $description, $id=null, $cls=null) + function item($actionName, array $args, $label, $description, $id=null, $cls=null) { if ($actionName != 'placeholder') { return parent::item($actionName, $args, $label, $description, $id, $cls);