Skip to content

Commit

Permalink
fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
fabio-ivona committed Oct 3, 2024
1 parent 35d36c4 commit 5f776e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/DTO/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,9 @@ public function writeAccessAllowed(): ?WriteAccessAllowed
return $this->writeAccessAllowed;
}

/**
* @return Collection<array-key, Entity>
*/
public function entities(): Collection
{
return $this->entities;
Expand Down
2 changes: 1 addition & 1 deletion src/Handlers/WebhookHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ abstract class WebhookHandler
protected CallbackQuery|null $callbackQuery = null;

/**
* @var Collection(<string, string>|<int, <array<string, string>>>)
* @var Collection<string, string>|Collection<int, array<string, string>>
*/
protected Collection $data;

Expand Down

0 comments on commit 5f776e4

Please sign in to comment.