Skip to content

Commit

Permalink
Add more specific parameter type for setData() method (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximal authored Aug 22, 2022
1 parent f252588 commit 5784e76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/FcmMessage.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public function getData(): ?array
}

/**
* @param array|null $data
* @param array<string, string>|null $data
* @return FcmMessage
*/
public function setData(?array $data): self
Expand Down

0 comments on commit 5784e76

Please sign in to comment.