Revert "jquery.textSelection: Remove hardcoded checks for removed WikiEditor iframe...
[lhc/web/wiklou.git] / includes / Collation.php
index d2a5797..071a278 100644 (file)
@@ -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();