diff --git a/src/Annotation/MQTTPublish.php b/src/Annotation/MQTTPublish.php index ec094f6..7050b1f 100644 --- a/src/Annotation/MQTTPublish.php +++ b/src/Annotation/MQTTPublish.php @@ -20,5 +20,5 @@ class MQTTPublish extends MQTTEvent /** * @var int */ - public $type = Types::PUBLISH; + public int $type = Types::PUBLISH; }