mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-26 11:37:33 +00:00
BigInteger\PHP: self::$primes -> static::$primes
This commit is contained in:
parent
a59d046c9d
commit
7a2f2e8e6b
@ -1272,7 +1272,7 @@ abstract class PHP extends Engine
|
||||
}
|
||||
|
||||
$value = $this->value;
|
||||
foreach (self::$primes as $prime) {
|
||||
foreach (static::$primes as $prime) {
|
||||
list(, $r) = self::divide_digit($value, $prime);
|
||||
if (!$r) {
|
||||
return count($value) == 1 && $value[0] == $prime;
|
||||
|
Loading…
Reference in New Issue
Block a user