X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FCollation.php;h=071a2785b12656641e7f374f4f34e848693f600c;hb=a4f6cdee0703ea367af3ed00d155e29c7d391e94;hp=d2a5797f9f4148bc587966280def06c51ecf35af;hpb=4f607296edf2afa52b0a1287955bba3c28936e37;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Collation.php b/includes/Collation.php index d2a5797f9f..071a2785b1 100644 --- a/includes/Collation.php +++ b/includes/Collation.php @@ -36,7 +36,7 @@ abstract class Collation { /** * @throws MWException - * @param $collationName string + * @param string $collationName * @return Collation */ static function factory( $collationName ) { @@ -470,7 +470,7 @@ class IcuCollation extends Collation { $prev = $trimmedKey; } foreach ( $duplicatePrefixes as $badKey ) { - wfDebug( "Removing '{$letterMap[$badKey]}' from first letters." ); + wfDebug( "Removing '{$letterMap[$badKey]}' from first letters.\n" ); unset( $letterMap[$badKey] ); // This code assumes that unsetting does not change sort order. } @@ -514,7 +514,7 @@ class IcuCollation extends Collation { * Do a binary search, and return the index of the largest item that sorts * less than or equal to the target value. * - * @deprecated in 1.23; use ArrayUtils::findLowerBound() instead + * @deprecated since 1.23; use ArrayUtils::findLowerBound() instead * * @param array $valueCallback A function to call to get the value with * a given array index. @@ -551,7 +551,7 @@ class IcuCollation extends Collation { * This function will return false on older PHPs. * * @since 1.21 - * @return string|false + * @return string|bool */ static function getICUVersion() { return defined( 'INTL_ICU_VERSION' ) ? INTL_ICU_VERSION : false; @@ -562,7 +562,7 @@ class IcuCollation extends Collation { * currently in use, or false when it can't be determined. * * @since 1.21 - * @return string|false + * @return string|bool */ static function getUnicodeVersionForICU() { $icuVersion = IcuCollation::getICUVersion();