| @@ -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 | 
| @@ -7,7 +7,6 @@ | ||
| 7 | 7 | use BitWasp\Bitcoin\Address\AddressInterface; | 
| 8 | 8 | use BitWasp\Bitcoin\Locktime; | 
| 9 | 9 | use BitWasp\Bitcoin\Script\Script; | 
| 10 | -use BitWasp\Bitcoin\Script\ScriptFactory; | |
| 11 | 10 | use BitWasp\Bitcoin\Script\ScriptInterface; | 
| 12 | 11 | use BitWasp\Bitcoin\Script\ScriptWitnessInterface; | 
| 13 | 12 | use BitWasp\Bitcoin\Transaction\Bip69\Bip69; | 
| @@ -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 |      { | 
| @@ -91,7 +91,7 @@ | ||
| 91 | 91 | } | 
| 92 | 92 | |
| 93 | 93 | /** | 
| 94 | - * @param \GMP $int | |
| 94 | + * @param resource $int | |
| 95 | 95 | * @param bool|false $compressed | 
| 96 | 96 | * @return PrivateKey | 
| 97 | 97 | */ | 
| @@ -97,7 +97,7 @@ | ||
| 97 | 97 | /** | 
| 98 | 98 | * Get the fingerprint of the parent key. For master keys, this is 00000000. | 
| 99 | 99 | * | 
| 100 | - * @return string | |
| 100 | + * @return integer | |
| 101 | 101 | */ | 
| 102 | 102 | public function getFingerprint() | 
| 103 | 103 |      { | 
| @@ -19,8 +19,8 @@ discard block | ||
| 19 | 19 | |
| 20 | 20 | /** | 
| 21 | 21 | * @param \GMP $int | 
| 22 | - * @param \GMP $otherInt | |
| 23 | - * @return \GMP | |
| 22 | + * @param resource $otherInt | |
| 23 | + * @return resource | |
| 24 | 24 | */ | 
| 25 | 25 | public function bitwiseOr(\GMP $int, \GMP $otherInt) | 
| 26 | 26 |      { | 
| @@ -32,7 +32,7 @@ discard block | ||
| 32 | 32 | * result and the remainder | 
| 33 | 33 | * | 
| 34 | 34 | * @param \GMP $dividend | 
| 35 | - * @param \GMP $divisor | |
| 35 | + * @param resource $divisor | |
| 36 | 36 | * @return array | 
| 37 | 37 | */ | 
| 38 | 38 | public function divQr(\GMP $dividend, \GMP $divisor) | 
| @@ -78,7 +78,7 @@ discard block | ||
| 78 | 78 | |
| 79 | 79 | /** | 
| 80 | 80 | * @param \GMP $integer | 
| 81 | - * @return \GMP | |
| 81 | + * @return resource | |
| 82 | 82 | */ | 
| 83 | 83 | public function getLow64(\GMP $integer) | 
| 84 | 84 |      { | 
| @@ -91,7 +91,7 @@ discard block | ||
| 91 | 91 | /** | 
| 92 | 92 | * @param \GMP $integer | 
| 93 | 93 | * @param bool $fNegative | 
| 94 | - * @return \GMP | |
| 94 | + * @return resource | |
| 95 | 95 | */ | 
| 96 | 96 | public function encodeCompact(\GMP $integer, $fNegative) | 
| 97 | 97 |      { | 
| @@ -93,7 +93,7 @@ discard block | ||
| 93 | 93 | |
| 94 | 94 | /** | 
| 95 | 95 | * @param BufferInterface $buffer | 
| 96 | - * @return int | |
| 96 | + * @return string | |
| 97 | 97 | */ | 
| 98 | 98 | private function parseBuffer(BufferInterface $buffer) | 
| 99 | 99 |      { | 
| @@ -177,7 +177,7 @@ discard block | ||
| 177 | 177 | } | 
| 178 | 178 | |
| 179 | 179 | /** | 
| 180 | - * @return \GMP | |
| 180 | + * @return resource | |
| 181 | 181 | */ | 
| 182 | 182 | public function getGmp() | 
| 183 | 183 |      { | 
| @@ -115,7 +115,7 @@ discard block | ||
| 115 | 115 | } | 
| 116 | 116 | |
| 117 | 117 | /** | 
| 118 | - * @param array $decoded | |
| 118 | + * @param Operation[] $decoded | |
| 119 | 119 | * @return bool | 
| 120 | 120 | */ | 
| 121 | 121 | private function decodeP2SH(array $decoded) | 
| @@ -240,7 +240,7 @@ discard block | ||
| 240 | 240 | /** | 
| 241 | 241 | * @param ScriptInterface $script | 
| 242 | 242 | * @param int $limit | 
| 243 | - * @param array $decoded | |
| 243 | + * @param Operation[] $decoded | |
| 244 | 244 | * @return BufferInterface|false | 
| 245 | 245 | */ | 
| 246 | 246 | private function decodeWithLimit(ScriptInterface $script, $limit, array $decoded) | 
| @@ -323,7 +323,7 @@ discard block | ||
| 323 | 323 | } | 
| 324 | 324 | |
| 325 | 325 | /** | 
| 326 | - * @param array $decoded | |
| 326 | + * @param Operation[] $decoded | |
| 327 | 327 | * @return bool|BufferInterface | 
| 328 | 328 | */ | 
| 329 | 329 | private function decodeWitnessCoinbaseCommitment(array $decoded) | 
| @@ -121,7 +121,7 @@ | ||
| 121 | 121 | } | 
| 122 | 122 | |
| 123 | 123 | /** | 
| 124 | - * @return array|BufferInterface[] | |
| 124 | + * @return BufferInterface[] | |
| 125 | 125 | */ | 
| 126 | 126 | public function getKeyBuffers() | 
| 127 | 127 |      { | 
| @@ -201,7 +201,7 @@ | ||
| 201 | 201 | } | 
| 202 | 202 | |
| 203 | 203 | /** | 
| 204 | - * @return int | |
| 204 | + * @return string | |
| 205 | 205 | */ | 
| 206 | 206 | public function powBitsLimit() | 
| 207 | 207 |      { |