@@ -115,7 +115,7 @@ |
||
| 115 | 115 | * @param string $algo |
| 116 | 116 | * @param BufferInterface $data |
| 117 | 117 | * @param BufferInterface $salt |
| 118 | - * @return BufferInterface |
|
| 118 | + * @return EcAdapter\Adapter\EcAdapterInterface |
|
| 119 | 119 | */ |
| 120 | 120 | public static function hmac($algo, BufferInterface $data, BufferInterface $salt) |
| 121 | 121 | { |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | /** |
| 114 | - * @param BufferInterface|string $hashPrevOut - hex or BufferInterface |
|
| 114 | + * @param BufferInterface $hashPrevOut - hex or BufferInterface |
|
| 115 | 115 | * @param int $nPrevOut |
| 116 | 116 | * @param Script|null $script |
| 117 | 117 | * @param int $nSequence |
@@ -259,8 +259,8 @@ |
||
| 259 | 259 | } |
| 260 | 260 | |
| 261 | 261 | /** |
| 262 | - * @param $certData |
|
| 263 | - * @return array |
|
| 262 | + * @param string $certData |
|
| 263 | + * @return string |
|
| 264 | 264 | */ |
| 265 | 265 | private function der2pem($certData) |
| 266 | 266 | { |
@@ -27,7 +27,7 @@ discard block |
||
| 27 | 27 | /** |
| 28 | 28 | * @param \GMP $int |
| 29 | 29 | * @param \GMP $otherInt |
| 30 | - * @return \GMP |
|
| 30 | + * @return resource |
|
| 31 | 31 | */ |
| 32 | 32 | public function bitwiseOr(\GMP $int, \GMP $otherInt) |
| 33 | 33 | { |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | * result and the remainder |
| 40 | 40 | * |
| 41 | 41 | * @param \GMP $dividend |
| 42 | - * @param \GMP $divisor |
|
| 42 | + * @param resource $divisor |
|
| 43 | 43 | * @return array |
| 44 | 44 | */ |
| 45 | 45 | public function divQr(\GMP $dividend, \GMP $divisor) |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | 87 | * @param \GMP $integer |
| 88 | - * @return \GMP |
|
| 88 | + * @return resource |
|
| 89 | 89 | */ |
| 90 | 90 | public function getLow64(\GMP $integer) |
| 91 | 91 | { |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | /** |
| 99 | 99 | * @param \GMP $integer |
| 100 | 100 | * @param bool $fNegative |
| 101 | - * @return \GMP |
|
| 101 | + * @return resource |
|
| 102 | 102 | */ |
| 103 | 103 | public function parseCompact(\GMP $integer, $fNegative) |
| 104 | 104 | { |
@@ -46,7 +46,7 @@ |
||
| 46 | 46 | * @param EcAdapterInterface $ecAdapter |
| 47 | 47 | * @param TransactionInterface $transaction |
| 48 | 48 | * @param int $nInput |
| 49 | - * @param int|string $amount |
|
| 49 | + * @param integer $amount |
|
| 50 | 50 | */ |
| 51 | 51 | public function __construct(EcAdapterInterface $ecAdapter, TransactionInterface $transaction, $nInput, $amount) |
| 52 | 52 | { |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use BitWasp\Bitcoin\Network\NetworkInterface; |
| 9 | 9 | use BitWasp\Bitcoin\Script\Classifier\OutputClassifier; |
| 10 | 10 | use BitWasp\Bitcoin\Script\ScriptInterface; |
| 11 | - |
|
| 12 | 11 | use BitWasp\Bitcoin\Key\PublicKeyFactory; |
| 13 | 12 | use BitWasp\Buffertools\Buffer; |
| 14 | 13 | |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | 81 | * @param BufferInterface $buffer |
| 82 | - * @return int |
|
| 82 | + * @return string |
|
| 83 | 83 | */ |
| 84 | 84 | private function parseBuffer(BufferInterface $buffer) |
| 85 | 85 | { |
@@ -221,7 +221,7 @@ |
||
| 221 | 221 | } |
| 222 | 222 | |
| 223 | 223 | /** |
| 224 | - * @return int|string |
|
| 224 | + * @return string |
|
| 225 | 225 | */ |
| 226 | 226 | public function getValueOut() |
| 227 | 227 | { |
@@ -221,7 +221,7 @@ |
||
| 221 | 221 | } |
| 222 | 222 | |
| 223 | 223 | /** |
| 224 | - * @return int|string |
|
| 224 | + * @return string |
|
| 225 | 225 | */ |
| 226 | 226 | public function getValueOut() |
| 227 | 227 | { |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | - * @return int |
|
| 70 | + * @return double |
|
| 71 | 71 | */ |
| 72 | 72 | public function getFlags() |
| 73 | 73 | { |