Completed
Pull Request — master (#230)
by thomas
13:33 queued 10:16
created
src/Key/Deterministic/HierarchicalKeyFactory.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
 class HierarchicalKeyFactory
16 16
 {
17 17
     /**
18
-     * @param EcAdapterInterface|null $ecAdapter
18
+     * @param EcAdapterInterface $ecAdapter
19 19
      * @param NetworkInterface $network
20 20
      * @return ExtendedKeySerializer
21 21
      */
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     }
38 38
 
39 39
     /**
40
-     * @param BufferInterface $entropy
40
+     * @param Buffer $entropy
41 41
      * @param EcAdapterInterface $ecAdapter
42 42
      * @return HierarchicalKey
43 43
      */
Please login to merge, or discard this patch.
src/Mnemonic/Bip39/Bip39Mnemonic.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     }
91 91
 
92 92
     /**
93
-     * @param BufferInterface $entropy
93
+     * @param Buffer $entropy
94 94
      * @return string
95 95
      */
96 96
     public function entropyToMnemonic(BufferInterface $entropy)
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 
101 101
     /**
102 102
      * @param string $mnemonic
103
-     * @return BufferInterface
103
+     * @return Buffer
104 104
      */
105 105
     public function mnemonicToEntropy($mnemonic)
106 106
     {
Please login to merge, or discard this patch.
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/Interpreter/Interpreter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -242,7 +242,7 @@
 block discarded – undo
242 242
 
243 243
     /**
244 244
      * @param int $opCode
245
-     * @param BufferInterface $pushData
245
+     * @param Buffer $pushData
246 246
      * @return bool
247 247
      * @throws \Exception
248 248
      */
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.