diff --git a/src/FreeDSx/Socket/Queue/Asn1MessageQueue.php b/src/FreeDSx/Socket/Queue/Asn1MessageQueue.php index 5a881c8..f1ff450 100644 --- a/src/FreeDSx/Socket/Queue/Asn1MessageQueue.php +++ b/src/FreeDSx/Socket/Queue/Asn1MessageQueue.php @@ -14,6 +14,7 @@ namespace FreeDSx\Socket\Queue; use FreeDSx\Asn1\Encoder\EncoderInterface; +use FreeDSx\Asn1\Exception\EncoderException; use FreeDSx\Asn1\Exception\PartialPduException; use FreeDSx\Asn1\Type\AbstractType; use FreeDSx\Socket\Exception\PartialMessageException; @@ -48,6 +49,10 @@ public function __construct( parent::__construct($socket); } + /** + * @throws PartialMessageException + * @throws EncoderException + */ protected function decode(string $bytes): Message { try {