From c536ad24c9819c7f4519f18288cbbc0111760233 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Wed, 5 Nov 2014 13:44:43 -0800 Subject: [PATCH] Use "callable" instead of "array" in doc block for ArrayUtils::findLowerBound() Change-Id: I1207963c53941a8f94350aaced414c8e601fb4e4 --- includes/utils/ArrayUtils.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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. * -- 2.20.1