Fix signatures.
authorJan Schneider <jan@horde.org>
Thu, 3 Dec 2009 17:29:09 +0000 (18:29 +0100)
committerJan Schneider <jan@horde.org>
Thu, 3 Dec 2009 20:35:18 +0000 (21:35 +0100)
framework/History/lib/Horde/History/Mock.php

index 71f2f40..2e67d3e 100644 (file)
@@ -146,7 +146,7 @@ class Horde_History_Mock extends Horde_History
      *
      * @throws Horde_Exception
      */
-    public function _getByTimestamp($cmp, $ts, $filters = array(),
+    public function _getByTimestamp($cmp, $ts, array $filters = array(),
                                     $parent = null)
     {
         $result = array();
@@ -227,7 +227,7 @@ class Horde_History_Mock extends Horde_History
      *
      * @throws Horde_Exception
      */
-    public function removeByNames($names)
+    public function removeByNames(array $names)
     {
         if (!count($names)) {
             return true;