diff --git a/phpseclib/Math/BigInteger/Engines/PHP.php b/phpseclib/Math/BigInteger/Engines/PHP.php index d9d4d645..2d3aff13 100644 --- a/phpseclib/Math/BigInteger/Engines/PHP.php +++ b/phpseclib/Math/BigInteger/Engines/PHP.php @@ -1254,10 +1254,8 @@ abstract class PHP extends Engine /** * Return the size of a BigInteger in bits - * - * @return int */ - public function getLength() + public function getLength(): int { $max = count($this->value) - 1; return $max != -1 ?