Completed
Pull Request — master (#230)
by thomas
27:32 queued 03:04
created
src/Script/Interpreter/Stack.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     }
13 13
 
14 14
     /**
15
-     * @param mixed $value
15
+     * @param Buffer $value
16 16
      * @throws \InvalidArgumentException
17 17
      */
18 18
     private function typeCheck($value)
Please login to merge, or discard this patch.
src/Transaction/SignatureHash/Hasher.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
      * can be used.
46 46
      *
47 47
      * @param ScriptInterface $txOutScript
48
-     * @param $inputToSign
48
+     * @param integer $inputToSign
49 49
      * @param int $sighashType
50 50
      * @return Buffer
51 51
      * @throws \Exception
Please login to merge, or discard this patch.
src/Base58.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      * Calculate a checksum for the given data
82 82
      *
83 83
      * @param BufferInterface $data
84
-     * @return BufferInterface
84
+     * @return Buffer
85 85
      */
86 86
     public static function checksum(BufferInterface $data)
87 87
     {
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
      * Decode a base58 checksum string and validate checksum
93 93
      *
94 94
      * @param string $base58
95
-     * @return BufferInterface
95
+     * @return Buffer
96 96
      * @throws Base58ChecksumFailure
97 97
      */
98 98
     public static function decodeCheck($base58)
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
     /**
112 112
      * Encode the given data in base58, with a checksum to check integrity.
113 113
      *
114
-     * @param BufferInterface $data
114
+     * @param Buffer $data
115 115
      * @return string
116 116
      * @throws \Exception
117 117
      */
Please login to merge, or discard this patch.
src/Block/MerkleRoot.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     /**
51 51
      * Set the last hash. Should only be set by calculateHash()
52 52
      *
53
-     * @param BufferInterface $lastHash
53
+     * @param Buffer $lastHash
54 54
      */
55 55
     private function setLastHash(BufferInterface $lastHash)
56 56
     {
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
     /**
61 61
      * @param callable|null $hashFunction
62
-     * @return BufferInterface
62
+     * @return Buffer
63 63
      * @throws MerkleTreeEmpty
64 64
      */
65 65
     public function calculateHash(callable $hashFunction = null)
Please login to merge, or discard this patch.
src/Bloom/BloomFilter.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -263,7 +263,7 @@  discard block
 block discarded – undo
263 263
     }
264 264
 
265 265
     /**
266
-     * @param BufferInterface $data
266
+     * @param Buffer $data
267 267
      * @return $this
268 268
      */
269 269
     public function insertData(BufferInterface $data)
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
     }
292 292
 
293 293
     /**
294
-     * @param BufferInterface $data
294
+     * @param Buffer $data
295 295
      * @return bool
296 296
      */
297 297
     public function containsData(BufferInterface $data)
Please login to merge, or discard this patch.
src/Chain/Params.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -234,14 +234,14 @@
 block discarded – undo
234 234
     }
235 235
 
236 236
     /**
237
-     * @return int|string
237
+     * @return string
238 238
      */
239 239
     public function getMaxBlockSigOps()
240 240
     {
241 241
         return $this->math->div($this->maxBlockSizeBytes(), 50);
242 242
     }
243 243
     /**
244
-     * @return int|string
244
+     * @return string
245 245
      */
246 246
     public function getMaxTxSigOps()
247 247
     {
Please login to merge, or discard this patch.
src/Chain/ProofOfWork.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * @param BufferInterface $bits
36
-     * @return int|string
36
+     * @return string
37 37
      */
38 38
     public function getTarget(BufferInterface $bits)
39 39
     {
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
     }
44 44
 
45 45
     /**
46
-     * @return int|string
46
+     * @return string
47 47
      */
48 48
     public function getMaxTarget()
49 49
     {
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 
53 53
     /**
54 54
      * @param BufferInterface $bits
55
-     * @return BufferInterface
55
+     * @return Buffer
56 56
      */
57 57
     public function getTargetHash(BufferInterface $bits)
58 58
     {
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
     }
83 83
 
84 84
     /**
85
-     * @param BufferInterface $hash
85
+     * @param Buffer $hash
86 86
      * @param int|string $nBits
87 87
      * @return bool
88 88
      */
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
     /**
116 116
      * @param BufferInterface $bits
117
-     * @return int|string
117
+     * @return string
118 118
      */
119 119
     public function getWork(BufferInterface $bits)
120 120
     {
Please login to merge, or discard this patch.
src/Crypto/EcAdapter/Impl/PhpEcc/Adapter/EcAdapter.php 1 patch
Doc Comments   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -254,8 +254,8 @@  discard block
 block discarded – undo
254 254
     /**
255 255
      * Attempt to calculate the public key recovery param by trial and error
256 256
      *
257
-     * @param int|string     $r
258
-     * @param int|string     $s
257
+     * @param integer     $r
258
+     * @param integer     $s
259 259
      * @param BufferInterface $messageHash
260 260
      * @param PublicKey $publicKey
261 261
      * @return int
@@ -313,7 +313,7 @@  discard block
 block discarded – undo
313 313
     }
314 314
 
315 315
     /**
316
-     * @param BufferInterface $privateKey
316
+     * @param Buffer $privateKey
317 317
      * @return bool
318 318
      */
319 319
     public function validatePrivateKey(BufferInterface $privateKey)
@@ -324,7 +324,7 @@  discard block
 block discarded – undo
324 324
     }
325 325
 
326 326
     /**
327
-     * @param int|string $element
327
+     * @param string $element
328 328
      * @param bool $half
329 329
      * @return bool
330 330
      */
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
     }
341 341
 
342 342
     /**
343
-     * @param BufferInterface $publicKey
343
+     * @param Buffer $publicKey
344 344
      * @return PublicKeyInterface
345 345
      * @throws \Exception
346 346
      */
Please login to merge, or discard this patch.
src/Crypto/EcAdapter/Impl/PhpEcc/Serializer/Key/PublicKeySerializer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
     }
27 27
 
28 28
     /**
29
-     * @param $compressed
29
+     * @param boolean $compressed
30 30
      * @param PointInterface $point
31 31
      * @return string
32 32
      */
Please login to merge, or discard this patch.