more checkstyle fixes

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-24 12:02:26 +01:00
parent c3d44b4558
commit 585d42f1b8
25 changed files with 263 additions and 261 deletions

View File

@@ -217,8 +217,8 @@ final class Froxlor
$a = explode(".", $a);
$b = explode(".", $b);
self::_parseVersionArray($a);
self::_parseVersionArray($b);
self::parseVersionArray($a);
self::parseVersionArray($b);
while (count($a) != count($b)) {
if (count($a) < count($b)) {
@@ -248,7 +248,7 @@ final class Froxlor
return (count($a) < count($b)) ? - 1 : 0;
}
private static function _parseVersionArray(&$arr = null)
private static function parseVersionArray(&$arr = null)
{
// -svn or -dev or -rc ?
if (stripos($arr[count($arr) - 1], '-') !== false) {