Completed
Pull Request — master (#328)
by thomas
23:53 queued 18:15
created
src/Transaction/Factory/TxBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/PaymentProtocol/RequestSigner.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -259,8 +259,8 @@
 block discarded – undo
259 259
     }
260 260
 
261 261
     /**
262
-     * @param $certData
263
-     * @return array
262
+     * @param string $certData
263
+     * @return string
264 264
      */
265 265
     private function der2pem($certData)
266 266
     {
Please login to merge, or discard this patch.
src/Math/Math.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * @param \GMP $int
29 29
      * @param \GMP $otherInt
30
-     * @return \GMP
30
+     * @return resource
31 31
      */
32 32
     public function bitwiseOr(\GMP $int, \GMP $otherInt)
33 33
     {
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
      * result and the remainder
40 40
      *
41 41
      * @param \GMP $dividend
42
-     * @param \GMP $divisor
42
+     * @param resource $divisor
43 43
      * @return array
44 44
      */
45 45
     public function divQr(\GMP $dividend, \GMP $divisor)
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 
86 86
     /**
87 87
      * @param \GMP $integer
88
-     * @return \GMP
88
+     * @return resource
89 89
      */
90 90
     public function getLow64(\GMP $integer)
91 91
     {
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     /**
99 99
      * @param \GMP $integer
100 100
      * @param bool $fNegative
101
-     * @return \GMP
101
+     * @return resource
102 102
      */
103 103
     public function parseCompact(\GMP $integer, $fNegative)
104 104
     {
Please login to merge, or discard this patch.
src/Script/Interpreter/Checker.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      * @param EcAdapterInterface $ecAdapter
47 47
      * @param TransactionInterface $transaction
48 48
      * @param int $nInput
49
-     * @param int|string $amount
49
+     * @param integer $amount
50 50
      */
51 51
     public function __construct(EcAdapterInterface $ecAdapter, TransactionInterface $transaction, $nInput, $amount)
52 52
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use BitWasp\Bitcoin\Network\NetworkInterface;
9 9
 use BitWasp\Bitcoin\Script\Classifier\OutputClassifier;
10 10
 use BitWasp\Bitcoin\Script\ScriptInterface;
11
-
12 11
 use BitWasp\Bitcoin\Key\PublicKeyFactory;
13 12
 use BitWasp\Buffertools\Buffer;
14 13
 
Please login to merge, or discard this patch.
src/Script/Interpreter/Number.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 BufferInterface $buffer
82
-     * @return int
82
+     * @return string
83 83
      */
84 84
     private function parseBuffer(BufferInterface $buffer)
85 85
     {
Please login to merge, or discard this patch.
src/Transaction/Transaction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -221,7 +221,7 @@
 block discarded – undo
221 221
     }
222 222
 
223 223
     /**
224
-     * @return int|string
224
+     * @return string
225 225
      */
226 226
     public function getValueOut()
227 227
     {
Please login to merge, or discard this patch.
src/Crypto/EcAdapter/Impl/PhpEcc/Signature/CompactSignature.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@
 block discarded – undo
67 67
     }
68 68
 
69 69
     /**
70
-     * @return int
70
+     * @return double
71 71
      */
72 72
     public function getFlags()
73 73
     {
Please login to merge, or discard this patch.
src/Crypto/EcAdapter/Impl/Secp256k1/Signature/CompactSignature.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     /**
77 77
      * @param int|string $sequence
78 78
      * @param bool $change
79
-     * @return int|string
79
+     * @return integer
80 80
      */
81 81
     public function getSequenceOffset($sequence, $change = false)
82 82
     {
Please login to merge, or discard this patch.
src/Crypto/EcAdapter/Impl/Secp256k1/Adapter/EcAdapter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
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
      */
Please login to merge, or discard this patch.