Declare functions with access modifiers

Change-Id: I047d3dc6642de07130a43ad4c2fd4a8106450aac
This commit is contained in:
Siebrand Mazeland
2016-03-05 16:10:52 +01:00
parent ed712417b0
commit 49b4cc0028
4 changed files with 7 additions and 7 deletions

View File

@@ -62,7 +62,7 @@ class LanguageNameSearch {
* @param $str string
* @return integer Code point of first letter of string
*/
static function getCodepoint( $str ) {
public static function getCodepoint( $str ) {
$values = array();
$lookingFor = 1;
$strLen = strlen( $str );
@@ -107,7 +107,7 @@ class LanguageNameSearch {
* @param $str2
* @return integer
*/
static function levenshteinDistance( $str1, $str2 ) {
public static function levenshteinDistance( $str1, $str2 ) {
$length1 = mb_strlen( $str1, 'UTF-8' );
$length2 = mb_strlen( $str2, 'UTF-8' );
if ( $length1 < $length2 ) {