@@ -79,7 +79,8 @@ discard block |
||
79 | 79 | } |
80 | 80 | |
81 | 81 | /** |
82 | - * @param \GMP $gmp |
|
82 | + * @param resource $gmp |
|
83 | + * @param integer $byteSize |
|
83 | 84 | * @return Buffer |
84 | 85 | * @throws \Exception |
85 | 86 | */ |
@@ -173,7 +174,7 @@ discard block |
||
173 | 174 | } |
174 | 175 | |
175 | 176 | /** |
176 | - * @return \GMP |
|
177 | + * @return resource |
|
177 | 178 | */ |
178 | 179 | public function getGmp(): \GMP |
179 | 180 | { |
@@ -4,8 +4,6 @@ |
||
4 | 4 | |
5 | 5 | namespace BitWasp\Buffertools; |
6 | 6 | |
7 | -use Mdanter\Ecc\Math\GmpMathInterface; |
|
8 | - |
|
9 | 7 | class Buffer implements BufferInterface |
10 | 8 | { |
11 | 9 | /** |