Completed
Pull Request — master (#56)
by thomas
15:05
created
src/Buffertools/Parser.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * Instantiate class, optionally taking Buffer or HEX.
30 30
      *
31
-     * @param null|string|BufferInterface $input
31
+     * @param BufferInterface $input
32 32
      * @param GmpMathInterface|null $math
33 33
      */
34 34
     public function __construct($input = null, GmpMathInterface $math = null)
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      * Write $data as $bytes bytes. Can be flipped if needed.
94 94
      *
95 95
      * @param  integer $numBytes - number of bytes to write
96
-     * @param  SerializableInterface|BufferInterface|string $data - buffer, serializable or hex
96
+     * @param  BufferInterface $data - buffer, serializable or hex
97 97
      * @param  bool $flipBytes
98 98
      * @return Parser
99 99
      */
Please login to merge, or discard this patch.
src/Buffertools/Types/VarInt.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     }
32 32
 
33 33
     /**
34
-     * @param \GMP $integer
34
+     * @param resource $integer
35 35
      * @return array
36 36
      */
37 37
     public function solveWriteSize(\GMP $integer): array
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     }
53 53
 
54 54
     /**
55
-     * @param \GMP $givenPrefix
55
+     * @param resource $givenPrefix
56 56
      * @return UintInterface[]
57 57
      * @throws \InvalidArgumentException
58 58
      */
Please login to merge, or discard this patch.