Completed
Pull Request — master (#230)
by thomas
27:32 queued 03:04
created
src/Mnemonic/Electrum/ElectrumMnemonic.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
     /**
68 68
      * @param string $mnemonic
69
-     * @return BufferInterface
69
+     * @return Buffer
70 70
      */
71 71
     public function mnemonicToEntropy($mnemonic)
72 72
     {
Please login to merge, or discard this patch.
src/Script/Factory/OutputScriptFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
      * @param int $m
98 98
      * @param PublicKeyInterface[] $keys
99 99
      * @param bool|true $sort
100
-     * @return ScriptCreator|Script
100
+     * @return Script
101 101
      */
102 102
     public function multisig($m, array $keys = [], $sort = true)
103 103
     {
Please login to merge, or discard this patch.
src/Script/Factory/ScriptCreator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -147,7 +147,7 @@
 block discarded – undo
147 147
     }
148 148
 
149 149
     /**
150
-     * @return ScriptInterface
150
+     * @return ScriptInterface|null
151 151
      */
152 152
     public function getScript()
153 153
     {
Please login to merge, or discard this patch.
src/Script/Parser/Operation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     /**
32 32
      * Operation constructor.
33 33
      * @param int $opCode
34
-     * @param BufferInterface $pushData
34
+     * @param Buffer $pushData
35 35
      * @param int $pushDataSize
36 36
      */
37 37
     public function __construct($opCode, BufferInterface $pushData, $pushDataSize = 0)
Please login to merge, or discard this patch.
src/Script/Script.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     }
34 34
 
35 35
     /**
36
-     * @return BufferInterface
36
+     * @return Buffer
37 37
      */
38 38
     public function getBuffer()
39 39
     {
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
     /**
62 62
      * Return a buffer containing the hash of this script.
63 63
      *
64
-     * @return BufferInterface
64
+     * @return Buffer
65 65
      */
66 66
     public function getScriptHash()
67 67
     {
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
     }
70 70
 
71 71
     /**
72
-     * @param bool|true $accurate
72
+     * @param boolean $accurate
73 73
      * @return int
74 74
      */
75 75
     public function countSigOps($accurate = true)
Please login to merge, or discard this patch.
src/Transaction/Factory/TxBuilder.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     }
102 102
 
103 103
     /**
104
-     * @param BufferInterface|string $hashPrevOut
104
+     * @param Buffer $hashPrevOut
105 105
      * @param int $nPrevOut
106 106
      * @param Script|null $script
107 107
      * @param int $nSequence
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
     }
136 136
 
137 137
     /**
138
-     * @param int|string $value
138
+     * @param integer $value
139 139
      * @param ScriptInterface $script
140 140
      * @return $this
141 141
      */
Please login to merge, or discard this patch.
src/Transaction/Factory/TxSigner.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
 
80 80
     /**
81 81
      * @param PrivateKeyInterface $privKey
82
-     * @param BufferInterface $hash
82
+     * @param Buffer $hash
83 83
      * @param int $sigHashType
84 84
      * @return TransactionSignature
85 85
      */
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use \BitWasp\Bitcoin\Crypto\EcAdapter\Impl\Secp256k1\Adapter\EcAdapter as Secp256k1Adapter;
15 15
 use BitWasp\Bitcoin\Transaction\SignatureHash\SignatureHashInterface;
16 16
 use BitWasp\Bitcoin\Transaction\TransactionInterface;
17
-use BitWasp\Buffertools\Buffer;
18 17
 use BitWasp\Buffertools\BufferInterface;
19 18
 
20 19
 class TxSigner
Please login to merge, or discard this patch.
src/Address/Address.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
 
80 80
     /**
81 81
      * @param PrivateKeyInterface $privKey
82
-     * @param BufferInterface $hash
82
+     * @param Buffer $hash
83 83
      * @param int $sigHashType
84 84
      * @return TransactionSignature
85 85
      */
Please login to merge, or discard this patch.
src/Block/BlockHeader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
 
67 67
     /**
68 68
      * @param string $mnemonic
69
-     * @return BufferInterface
69
+     * @return Buffer
70 70
      */
71 71
     public function mnemonicToEntropy($mnemonic)
72 72
     {
Please login to merge, or discard this patch.