From f4d2e1a072d5cceb5149643528586c62bab8559c Mon Sep 17 00:00:00 2001 From: Chad Sikorra Date: Mon, 25 May 2026 22:55:45 -0400 Subject: [PATCH] Update the @throws phpdoc for decode. --- src/FreeDSx/Socket/Queue/Asn1MessageQueue.php | 5 +++++ 1 file changed, 5 insertions(+) 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 {