From fbae008ea1d6d93f17b48ff00f01252e40d2c150 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 4 Aug 2011 19:55:47 +0200 Subject: [PATCH] Added @deprecated info --- wcfsetup/install/files/lib/util/ArrayUtil.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/util/ArrayUtil.class.php b/wcfsetup/install/files/lib/util/ArrayUtil.class.php index 787656e760..96ea49c5e9 100644 --- a/wcfsetup/install/files/lib/util/ArrayUtil.class.php +++ b/wcfsetup/install/files/lib/util/ArrayUtil.class.php @@ -104,11 +104,12 @@ class ArrayUtil { /** * Alias to php array_intersect_key() function. + * + * @deprecated as of WCF 2.0, use PHP's array_intersect_key() function directly * * @param array $array1 The array with master keys to check. * @param array $array2 An array to compare keys against. * @return Returns an associative array containing all the values of array1 which have matching keys that are present in all arguments. - * @deprecated */ public static function intersectKeys($array1, $array2) { $parameters = func_get_args(); -- 2.20.1