Applied fixes from StyleCI

This commit is contained in:
Daniil Gentili 2016-08-05 20:50:19 -04:00 committed by StyleCI Bot
parent 770330fef4
commit 6acaae877a
3 changed files with 4 additions and 2 deletions

1
TL.php
View File

@ -210,6 +210,7 @@ class TL
}
break;
}
return $x;
}
}

View File

@ -231,7 +231,7 @@ class Session
pyjslib_printnl('Requesting pq');
$ResPQ = $this->method_call('req_pq', ['nonce' => $nonce]);
$server_nonce = $ResPQ['server_nonce'];
$public_key_fingerprint = (int)$ResPQ['server_public_key_fingerprints'][0];
$public_key_fingerprint = (int) $ResPQ['server_public_key_fingerprints'][0];
$pq_bytes = $ResPQ['pq'];
$pq = new \phpseclib\Math\BigInteger($pq_bytes, 256);

View File

@ -183,7 +183,8 @@ class PrimeModule
if (count($res) == 2) {
return $res;
}
} catch (ErrorException $e) { ; };
} catch (ErrorException $e) {
}
}
// Else do factorization with wolfram alpha :)))))
$query = 'Do prime factorization of '.$pq;