diff --git a/src/DTO/Message.php b/src/DTO/Message.php index da88eb3c..9db64db8 100644 --- a/src/DTO/Message.php +++ b/src/DTO/Message.php @@ -341,6 +341,9 @@ public function writeAccessAllowed(): ?WriteAccessAllowed return $this->writeAccessAllowed; } + /** + * @return Collection + */ public function entities(): Collection { return $this->entities; diff --git a/src/Handlers/WebhookHandler.php b/src/Handlers/WebhookHandler.php index 5fdb4510..f5657ac8 100644 --- a/src/Handlers/WebhookHandler.php +++ b/src/Handlers/WebhookHandler.php @@ -42,7 +42,7 @@ abstract class WebhookHandler protected CallbackQuery|null $callbackQuery = null; /** - * @var Collection(|>>) + * @var Collection|Collection> */ protected Collection $data;