@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | - * @param \GMP $integer |
|
| 29 | + * @param resource $integer |
|
| 30 | 30 | * @return array |
| 31 | 31 | */ |
| 32 | 32 | public function solveWriteSize(\GMP $integer) |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |
| 50 | - * @param \GMP $givenPrefix |
|
| 50 | + * @param resource $givenPrefix |
|
| 51 | 51 | * @return UintInterface[] |
| 52 | 52 | * @throws \InvalidArgumentException |
| 53 | 53 | */ |
@@ -167,7 +167,7 @@ |
||
| 167 | 167 | } |
| 168 | 168 | |
| 169 | 169 | /** |
| 170 | - * @return \GMP |
|
| 170 | + * @return resource |
|
| 171 | 171 | */ |
| 172 | 172 | public function getGmp() |
| 173 | 173 | { |
@@ -26,7 +26,7 @@ discard block |
||
| 26 | 26 | /** |
| 27 | 27 | * Instantiate class, optionally taking Buffer or HEX. |
| 28 | 28 | * |
| 29 | - * @param null|string|BufferInterface $input |
|
| 29 | + * @param Buffer $input |
|
| 30 | 30 | * @param GmpMathInterface|null $math |
| 31 | 31 | */ |
| 32 | 32 | public function __construct($input = null, GmpMathInterface $math = null) |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | * Write $data as $bytes bytes. Can be flipped if needed. |
| 84 | 84 | * |
| 85 | 85 | * @param integer $bytes |
| 86 | - * @param $data |
|
| 86 | + * @param BufferInterface $data |
|
| 87 | 87 | * @param bool $flipBytes |
| 88 | 88 | * @return $this |
| 89 | 89 | */ |