diff --git a/phpseclib/Math/BigInteger/Engines/PHP.php b/phpseclib/Math/BigInteger/Engines/PHP.php index d9d4d6450..2d3aff137 100644 --- a/phpseclib/Math/BigInteger/Engines/PHP.php +++ b/phpseclib/Math/BigInteger/Engines/PHP.php @@ -1254,10 +1254,8 @@ protected static function testJITOnWindows() /** * 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 ?