From: Chuck Hagenbuch Date: Thu, 18 Nov 2010 15:07:51 +0000 (-0500) Subject: This typehint breaks passing the variable by reference X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=03c1e5233e8ac63ab935b19a018040317e03b1a4;p=horde.git This typehint breaks passing the variable by reference --- diff --git a/framework/Util/lib/Horde/Array.php b/framework/Util/lib/Horde/Array.php index e44a8221a..896c141e1 100644 --- a/framework/Util/lib/Horde/Array.php +++ b/framework/Util/lib/Horde/Array.php @@ -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;