This typehint breaks passing the variable by reference
authorChuck Hagenbuch <chuck@horde.org>
Thu, 18 Nov 2010 15:07:51 +0000 (10:07 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Thu, 18 Nov 2010 15:07:51 +0000 (10:07 -0500)
framework/Util/lib/Horde/Array.php

index e44a822..896c141 100644 (file)
@@ -120,7 +120,7 @@ class Horde_Array
      *
      * @return boolean  True on sucess, false on error.
      */
-    static public function getArrayParts($field, &$base, array &$keys)
+    static public function getArrayParts($field, &$base, &$keys)
     {
         if (!preg_match('|([^\[]*)((\[[^\[\]]*\])+)|', $field, $matches)) {
             return false;