Skip to content

Commit

Permalink
fix: change getUpdateMessageSubType method from private to public
Browse files Browse the repository at this point in the history
  • Loading branch information
AmirHkrg committed Oct 17, 2024
1 parent 85a2b25 commit b77b858
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Updates.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function getUpdateType(): false|string
* @return string
* @throws InvalidUpdateType
*/
private function getUpdateMessageSubType(object $message): string
public function getUpdateMessageSubType(object $message): string
{
return match (true) {
isset($message->text) => 'message',
Expand Down

0 comments on commit b77b858

Please sign in to comment.