Match signatures of Horde_Group_Mock methods to Horde_Group.
authorGunnar Wrobel <p@rdus.de>
Tue, 14 Dec 2010 07:58:34 +0000 (08:58 +0100)
committerGunnar Wrobel <p@rdus.de>
Tue, 14 Dec 2010 17:26:57 +0000 (18:26 +0100)
framework/Group/lib/Horde/Group/Mock.php

index a3500fb..8373cd2 100644 (file)
@@ -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.');
     }