Completed
Pull Request — master (#230)
by thomas
75:52 queued 05:35
created
src/Key/Deterministic/ElectrumKeyFactory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 
33 33
     /**
34 34
      * Generate a master private key given a
35
-     * @param BufferInterface $seed
35
+     * @param Buffer $seed
36 36
      * @param EcAdapterInterface $ecAdapter
37 37
      * @return ElectrumKey
38 38
      */
Please login to merge, or discard this patch.
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/P2shScript.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace BitWasp\Bitcoin\Script;
4 4
 
5 5
 use BitWasp\Bitcoin\Address\AddressFactory;
6
-use BitWasp\Bitcoin\Network\NetworkInterface;
7 6
 
8 7
 class P2shScript extends Script
9 8
 {
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/TxSignerContext.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@
 block discarded – undo
113 113
     }
114 114
 
115 115
     /**
116
-     * @return array|\BitWasp\Bitcoin\Crypto\EcAdapter\Key\PublicKeyInterface[]
116
+     * @return PublicKeyInterface[]
117 117
      */
118 118
     public function getPublicKeys()
119 119
     {
Please login to merge, or discard this patch.