build: Updating mediawiki/mediawiki-codesniffer to 0.10.1

Change-Id: Ib7a361cf2973bf0bba0fb8944762216f44c226a8
This commit is contained in:
Umherirrender
2017-07-26 23:22:26 +02:00
parent 3bb241b08d
commit 1a4ac5a6d6
4 changed files with 4 additions and 5 deletions

View File

@@ -61,7 +61,7 @@ class LanguageNameSearch {
* Get the code point of first letter of string
*
* @param $str string
* @return integer Code point of first letter of string
* @return int Code point of first letter of string
*/
public static function getCodepoint( $str ) {
$values = [];
@@ -106,7 +106,7 @@ class LanguageNameSearch {
* Calculate the Levenshtein distance between two strings
* @param $str1
* @param $str2
* @return integer
* @return int
*/
public static function levenshteinDistance( $str1, $str2 ) {
$length1 = mb_strlen( $str1, 'UTF-8' );