diff --git a/PubSub/src/BatchPublisher.php b/PubSub/src/BatchPublisher.php index 6177138f8388..bfdaa6388cc5 100644 --- a/PubSub/src/BatchPublisher.php +++ b/PubSub/src/BatchPublisher.php @@ -65,9 +65,15 @@ class BatchPublisher */ private $client; - private bool $enableCompression; + /** + * @var bool + */ + private $enableCompression; - private int $compressionBytesThreshold; + /** + * @var int + */ + private $compressionBytesThreshold; /** * @param string $topicName The topic name. diff --git a/PubSub/src/Topic.php b/PubSub/src/Topic.php index 663524376dfd..7815e46700a0 100644 --- a/PubSub/src/Topic.php +++ b/PubSub/src/Topic.php @@ -89,10 +89,15 @@ class Topic */ private $clientConfig; - private bool $enableCompression; - + /** + * @var bool + */ + private $enableCompression; - private int $compressionBytesThreshold; + /** + * @var int + */ + private $compressionBytesThreshold; /** * Create a PubSub topic.