@@ -48,7 +48,7 @@ |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
51 | - * @return BufferInterface|string |
|
51 | + * @return BufferInterface |
|
52 | 52 | */ |
53 | 53 | public function getHash() |
54 | 54 | { |
@@ -17,7 +17,7 @@ discard block |
||
17 | 17 | } |
18 | 18 | |
19 | 19 | /** |
20 | - * @param mixed $value |
|
20 | + * @param BufferInterface $value |
|
21 | 21 | * @throws \InvalidArgumentException |
22 | 22 | */ |
23 | 23 | private function typeCheck($value) |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | } |
128 | 128 | |
129 | 129 | /** |
130 | - * @param $length |
|
130 | + * @param integer $length |
|
131 | 131 | * @return $this |
132 | 132 | */ |
133 | 133 | public function resize($length) |
@@ -71,7 +71,7 @@ |
||
71 | 71 | } |
72 | 72 | |
73 | 73 | /** |
74 | - * @param bool|true $accurate |
|
74 | + * @param boolean $accurate |
|
75 | 75 | * @return int |
76 | 76 | */ |
77 | 77 | public function countSigOps($accurate = true) |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | } |
116 | 116 | |
117 | 117 | /** |
118 | - * @return array|\BitWasp\Bitcoin\Crypto\EcAdapter\Key\PublicKeyInterface[] |
|
118 | + * @return PublicKeyInterface[] |
|
119 | 119 | */ |
120 | 120 | public function getPublicKeys() |
121 | 121 | { |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | } |
124 | 124 | |
125 | 125 | /** |
126 | - * @return array |
|
126 | + * @return TransactionSignatureInterface[] |
|
127 | 127 | */ |
128 | 128 | public function getSignatures() |
129 | 129 | { |
@@ -60,8 +60,8 @@ |
||
60 | 60 | } |
61 | 61 | |
62 | 62 | /** |
63 | - * @param int|string $start |
|
64 | - * @param int|string $length |
|
63 | + * @param integer $start |
|
64 | + * @param integer $length |
|
65 | 65 | * @return $this |
66 | 66 | */ |
67 | 67 | public function slice($start, $length) |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace BitWasp\Bitcoin\Transaction\Mutator; |
4 | 4 | |
5 | 5 | use BitWasp\Bitcoin\Collection\MutableCollection; |
6 | -use BitWasp\Bitcoin\Collection\Transaction\TransactionInputCollection; |
|
7 | 6 | use BitWasp\Bitcoin\Collection\Transaction\TransactionWitnessCollection; |
8 | 7 | use BitWasp\Bitcoin\Script\ScriptWitnessInterface; |
9 | -use BitWasp\Bitcoin\Transaction\TransactionInputInterface; |
|
10 | 8 | |
11 | 9 | class WitnessCollectionMutator extends MutableCollection |
12 | 10 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use BitWasp\Buffertools\Buffer; |
6 | 6 | use BitWasp\Bitcoin\Key\PrivateKeyFactory; |
7 | 7 | use BitWasp\Bitcoin\Transaction\OutPoint; |
8 | -use BitWasp\Bitcoin\Script\Interpreter\InterpreterInterface as I; |
|
9 | 8 | use BitWasp\Bitcoin\Transaction\TransactionFactory; |
10 | 9 | use BitWasp\Bitcoin\Script\WitnessProgram; |
11 | 10 | use BitWasp\Bitcoin\Script\Interpreter\InterpreterInterface; |
@@ -5,9 +5,7 @@ |
||
5 | 5 | use BitWasp\Buffertools\Buffer; |
6 | 6 | use BitWasp\Bitcoin\Key\PrivateKeyFactory; |
7 | 7 | use BitWasp\Bitcoin\Transaction\OutPoint; |
8 | -use BitWasp\Bitcoin\Script\Interpreter\InterpreterInterface as I; |
|
9 | 8 | use BitWasp\Bitcoin\Transaction\TransactionFactory; |
10 | -use BitWasp\Bitcoin\Script\WitnessProgram; |
|
11 | 9 | |
12 | 10 | $wif = 'QP3p9tRpTGTefG4a8jKoktSWC7Um8qzvt8wGKMxwWyW3KTNxMxN7'; |
13 | 11 |
@@ -48,7 +48,7 @@ |
||
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
51 | - * @return BufferInterface|string |
|
51 | + * @return BufferInterface |
|
52 | 52 | */ |
53 | 53 | public function getHash() |
54 | 54 | { |
@@ -32,7 +32,7 @@ |
||
32 | 32 | /** |
33 | 33 | * @param Math $math |
34 | 34 | * @param BlockHeaderSerializer $headerSerializer |
35 | - * @param TransactionSerializer $txSerializer |
|
35 | + * @param MTransactionSerializer $txSerializer |
|
36 | 36 | */ |
37 | 37 | public function __construct(Math $math, BlockHeaderSerializer $headerSerializer, MTransactionSerializer $txSerializer) |
38 | 38 | { |