From 812fc9b43edf4b78655ec4a056282d27d0ea547e Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Tue, 14 Dec 2010 08:58:34 +0100 Subject: [PATCH] Match signatures of Horde_Group_Mock methods to Horde_Group. --- framework/Group/lib/Horde/Group/Mock.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/framework/Group/lib/Horde/Group/Mock.php b/framework/Group/lib/Horde/Group/Mock.php index a3500fba1..8373cd275 100644 --- a/framework/Group/lib/Horde/Group/Mock.php +++ b/framework/Group/lib/Horde/Group/Mock.php @@ -75,7 +75,7 @@ class Horde_Group_Mock extends Horde_Group { * * @throws Horde_Group_Exception */ - public function addGroup($group) + public function addGroup(Horde_Group_DataTreeObject $group) { throw new Horde_Group_Exception('Unsupported.'); } @@ -87,7 +87,7 @@ class Horde_Group_Mock extends Horde_Group { * * @throws Horde_Group_Exception */ - public function updateGroup($group) + public function updateGroup(Horde_Group_DataTreeObject $group) { throw new Horde_Group_Exception('Unsupported.'); } @@ -100,7 +100,8 @@ class Horde_Group_Mock extends Horde_Group { * * @throws Horde_Group_Exception */ - public function removeGroup($group, $force = false) + public function removeGroup(Horde_Group_DataTreeObject $group, + $force = false) { throw new Horde_Group_Exception('Unsupported.'); } -- 2.11.0