@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | /** |
27 | 27 | * Instantiate class, optionally taking Buffer or HEX. |
28 | 28 | * |
29 | - * @param null|string|BufferInterface $input |
|
29 | + * @param BufferInterface $input |
|
30 | 30 | */ |
31 | 31 | public function __construct($input = null) |
32 | 32 | { |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * Write $data as $bytes bytes. Can be flipped if needed. |
100 | 100 | * |
101 | 101 | * @param integer $numBytes - number of bytes to write |
102 | - * @param SerializableInterface|BufferInterface|string $data - buffer, serializable or hex |
|
102 | + * @param BufferInterface $data - buffer, serializable or hex |
|
103 | 103 | * @param bool $flipBytes |
104 | 104 | * @return Parser |
105 | 105 | */ |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | class VarInt extends AbstractType |
11 | 11 | { |
12 | 12 | /** |
13 | - * @param \GMP $integer |
|
13 | + * @param resource $integer |
|
14 | 14 | * @return array |
15 | 15 | */ |
16 | 16 | public function solveWriteSize(\GMP $integer) |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | /** |
30 | - * @param \GMP $givenPrefix |
|
30 | + * @param resource $givenPrefix |
|
31 | 31 | * @return UintInterface[] |
32 | 32 | * @throws \InvalidArgumentException |
33 | 33 | */ |