@@ -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 | */ |
@@ -30,7 +30,7 @@ |
||
30 | 30 | } |
31 | 31 | |
32 | 32 | /** |
33 | - * @param \GMP $integer |
|
33 | + * @param resource $integer |
|
34 | 34 | * @return array |
35 | 35 | */ |
36 | 36 | public function solveWriteSize(\GMP $integer): array |