diff --git a/src/Buffertools/Types/ByteString.php b/src/Buffertools/Types/ByteString.php index 2df9cc5..b273867 100644 --- a/src/Buffertools/Types/ByteString.php +++ b/src/Buffertools/Types/ByteString.php @@ -43,7 +43,7 @@ public function writeBits(BufferInterface $string): string } /** - * @param Buffer $string + * @param BufferInterface $string * @return string * @throws \Exception */ @@ -84,7 +84,7 @@ public function readBits(BufferInterface $buffer): string /** * @param Parser $parser * @return BufferInterface - * @throws \BitWasp\Buffertools\Exceptions\ParserOutOfRange + * @throws \Exception */ public function read(Parser $parser): BufferInterface {