Completed
Pull Request — master (#241)
by thomas
133:23 queued 63:06
created
src/Script/Interpreter/Stack.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Script/Script.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Transaction/Factory/TxSignerContext.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
123 123
     }
124 124
 
125 125
     /**
126
-     * @return array
126
+     * @return TransactionSignatureInterface[]
127 127
      */
128 128
     public function getSignatures()
129 129
     {
Please login to merge, or discard this patch.
src/Transaction/Transaction.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -261,7 +261,7 @@
 block discarded – undo
261 261
     }
262 262
 
263 263
     /**
264
-     * @return string
264
+     * @return \BitWasp\Buffertools\Buffer
265 265
      */
266 266
     public function getWitnessBuffer()
267 267
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,6 @@
 block discarded – undo
11 11
 use BitWasp\Bitcoin\Serializable;
12 12
 use BitWasp\Bitcoin\Serializer\Transaction\NTransactionSerializer;
13 13
 use BitWasp\Bitcoin\Serializer\Transaction\TransactionSerializer;
14
-use BitWasp\Bitcoin\Serializer\Transaction\WitnessTransactionSerializer;
15 14
 use BitWasp\Bitcoin\Transaction\SignatureHash\Hasher;
16 15
 use BitWasp\Bitcoin\Utxo\Utxo;
17 16
 use BitWasp\Buffertools\BufferInterface;
Please login to merge, or discard this patch.
src/Script/Interpreter/Interpreter.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use BitWasp\Bitcoin\Crypto\Hash;
7 7
 use BitWasp\Bitcoin\Exceptions\SignatureNotCanonical;
8 8
 use BitWasp\Bitcoin\Exceptions\ScriptRuntimeException;
9
-use BitWasp\Bitcoin\Crypto\EcAdapter\Impl\PhpEcc\Key\PublicKey;
10 9
 use BitWasp\Bitcoin\Script\Classifier\OutputClassifier;
11 10
 use BitWasp\Bitcoin\Script\Opcodes;
12 11
 use BitWasp\Bitcoin\Script\Script;
Please login to merge, or discard this patch.