X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCollation.php;h=ad2b94b1772830bfe0e8145f45c9d31519281173;hb=e7888d8f12110decc9f0435193f0cd222eaae5a9;hp=4cd921d95c3cece6d2ccbe17254143b1778ad278;hpb=783d4e086228c4699efca02b29914aa72013ebf8;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Collation.php b/includes/Collation.php index 4cd921d95c..ad2b94b177 100644 --- a/includes/Collation.php +++ b/includes/Collation.php @@ -1,4 +1,24 @@ firstChar( $string ); + } +} + + class IcuCollation extends Collation { var $primaryCollator, $mainCollator, $locale; var $firstLetterData; @@ -275,7 +331,7 @@ class IcuCollation extends Collation { * -1, 0 or 1 in the style of strcmp(). * @param $target string The target value to find. * - * @return The item index of the lower bound, or false if the target value + * @return int|bool The item index of the lower bound, or false if the target value * sorts before all items. */ function findLowerBound( $valueCallback, $valueCount, $comparisonCallback, $target ) {