Set of PHPDOC fixes

This commit is contained in:
Sokolovskyy Roman 2017-08-03 09:26:09 +02:00
parent 6f36c49baa
commit 7bffa6bb8f
2 changed files with 10 additions and 10 deletions

View File

@ -396,7 +396,7 @@ abstract class Engine implements \Serializable
/** /**
* Logical Not * Logical Not
* *
* @return \phpseclib\Math\BigInteger\Engines\Engine * @return Engine|string
*/ */
public function bitwise_not() public function bitwise_not()
{ {
@ -465,7 +465,7 @@ abstract class Engine implements \Serializable
* Instead of the top x bits being dropped they're appended to the shifted bit string. * Instead of the top x bits being dropped they're appended to the shifted bit string.
* *
* @param int $shift * @param int $shift
* @return \phpseclib\Math\BigInteger\Engine\Engines * @return \phpseclib\Math\BigInteger\Engines\Engine
*/ */
public function bitwise_leftRotate($shift) public function bitwise_leftRotate($shift)
{ {
@ -563,7 +563,7 @@ abstract class Engine implements \Serializable
/** /**
* Performs some pre-processing for powMod * Performs some pre-processing for powMod
* *
* @return \phpseclib\Math\BigInteger\Engines\Engine * @return bool|Engine
*/ */
protected function powModOuter(Engine $e, Engine $n) protected function powModOuter(Engine $e, Engine $n)
{ {
@ -591,11 +591,11 @@ abstract class Engine implements \Serializable
* however, this function performs a modular reduction after every multiplication and squaring operation. * however, this function performs a modular reduction after every multiplication and squaring operation.
* As such, this function has the same preconditions that the reductions being used do. * As such, this function has the same preconditions that the reductions being used do.
* *
* @param \phpseclib\Math\BigInteger\Engine $x * @param \phpseclib\Math\BigInteger\Engines\Engine $x
* @param \phpseclib\Math\BigInteger\Engine $e * @param \phpseclib\Math\BigInteger\Engines\Engine $e
* @param \phpseclib\Math\BigInteger\Engine $n * @param \phpseclib\Math\BigInteger\Engines\Engine $n
* @param string $class * @param string $class
* @return \phpseclib\Math\BigInteger\Engine * @return \phpseclib\Math\BigInteger\Engines\Engine
*/ */
protected static function slidingWindow(Engine $x, Engine $e, Engine $n, $class) protected static function slidingWindow(Engine $x, Engine $e, Engine $n, $class)
{ {
@ -691,7 +691,7 @@ abstract class Engine implements \Serializable
/** /**
* Performs some pre-processing for randomRangePrime * Performs some pre-processing for randomRangePrime
* *
* @return \phpseclib\Math\BigInteger\Engines\Engine * @return bool|Engine
*/ */
protected static function randomRangePrimeOuter(Engine $min, Engine $max) protected static function randomRangePrimeOuter(Engine $min, Engine $max)
{ {
@ -781,7 +781,7 @@ abstract class Engine implements \Serializable
/** /**
* Performs some post-processing for randomRangePrime * Performs some post-processing for randomRangePrime
* *
* @return \phpseclib\Math\BigInteger\Engine * @return bool|Engine
*/ */
protected static function randomRangePrimeInner(Engine $x, Engine $min, Engine $max) protected static function randomRangePrimeInner(Engine $x, Engine $min, Engine $max)
{ {

View File

@ -546,7 +546,7 @@ class GMP extends Engine
* *
* Returns the nth root of a positive biginteger, where n defaults to 2 * Returns the nth root of a positive biginteger, where n defaults to 2
* *
* @return \phpseclib\Math\BigInteger\Engines\Engine\GMP * @return \phpseclib\Math\BigInteger\Engines\GMP
*/ */
protected function rootInner($n) protected function rootInner($n)
{ {