From: Kunal Mehta Date: Wed, 5 Nov 2014 21:44:43 +0000 (-0800) Subject: Use "callable" instead of "array" in doc block for ArrayUtils::findLowerBound() X-Git-Tag: 1.31.0-rc.0~13378 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=c536ad24c9819c7f4519f18288cbbc0111760233;p=lhc%2Fweb%2Fwiklou.git Use "callable" instead of "array" in doc block for ArrayUtils::findLowerBound() Change-Id: I1207963c53941a8f94350aaced414c8e601fb4e4 --- diff --git a/includes/utils/ArrayUtils.php b/includes/utils/ArrayUtils.php index 1e521cb8b9..f93402108a 100644 --- a/includes/utils/ArrayUtils.php +++ b/includes/utils/ArrayUtils.php @@ -98,11 +98,11 @@ class ArrayUtils { * * @since 1.23 * - * @param array $valueCallback A function to call to get the value with + * @param callable $valueCallback A function to call to get the value with * a given array index. * @param int $valueCount The number of items accessible via $valueCallback, * indexed from 0 to $valueCount - 1 - * @param array $comparisonCallback A callback to compare two values, returning + * @param callable $comparisonCallback A callback to compare two values, returning * -1, 0 or 1 in the style of strcmp(). * @param string $target The target value to find. *