More type checks

This commit is contained in:
Dennis Eichhorn 2018-07-14 20:11:34 +02:00
parent 42877f570d
commit d1fafd760b

View File

@ -198,6 +198,6 @@ class Numeric
$numeric += pow(26, $i) * (ord($alpha[$length - $i - 1]) - 0x40);
}
return $numeric - 1;
return (int) $numeric - 1;
}
}