diff --git a/src/Queue/Consumers/WriteChannelPropertyState.php b/src/Queue/Consumers/WriteChannelPropertyState.php index 6aee372..fabd2d0 100644 --- a/src/Queue/Consumers/WriteChannelPropertyState.php +++ b/src/Queue/Consumers/WriteChannelPropertyState.php @@ -70,6 +70,7 @@ public function __construct( } /** + * @throws DevicesExceptions\InvalidArgument * @throws DevicesExceptions\InvalidState * @throws Exceptions\InvalidState * @throws Exceptions\Runtime diff --git a/src/Writers/Exchange.php b/src/Writers/Exchange.php index ccfcd0b..ca58f1b 100644 --- a/src/Writers/Exchange.php +++ b/src/Writers/Exchange.php @@ -20,6 +20,7 @@ use FastyBird\Connector\Tuya\Helpers; use FastyBird\Connector\Tuya\Queue; use FastyBird\Library\Exchange\Consumers as ExchangeConsumers; +use FastyBird\Library\Exchange\Exceptions as ExchangeExceptions; use FastyBird\Library\Metadata\Documents as MetadataDocuments; use FastyBird\Library\Metadata\Types as MetadataTypes; use FastyBird\Module\Devices\Exceptions as DevicesExceptions; @@ -53,11 +54,17 @@ public function __construct( { } + /** + * @throws ExchangeExceptions\InvalidArgument + */ public function connect(): void { $this->consumer->enable(self::class); } + /** + * @throws ExchangeExceptions\InvalidArgument + */ public function disconnect(): void { $this->consumer->disable(self::class); diff --git a/src/Writers/Periodic.php b/src/Writers/Periodic.php index c6b5e24..e91e8ed 100644 --- a/src/Writers/Periodic.php +++ b/src/Writers/Periodic.php @@ -103,6 +103,7 @@ public function disconnect(): void } /** + * @throws DevicesExceptions\InvalidArgument * @throws DevicesExceptions\InvalidState * @throws Exceptions\Runtime * @throws MetadataExceptions\InvalidArgument @@ -143,6 +144,7 @@ private function handleCommunication(): void } /** + * @throws DevicesExceptions\InvalidArgument * @throws DevicesExceptions\InvalidState * @throws Exceptions\Runtime * @throws MetadataExceptions\InvalidArgument