Skip to content

Commit

Permalink
Merge pull request #642 from andrey-helldar/patch/2024-09-12-10-52
Browse files Browse the repository at this point in the history
Make protected methods
  • Loading branch information
fabio-ivona authored Sep 16, 2024
2 parents e39de62 + 4f1707e commit 260823f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Handlers/WebhookHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct()
$this->originalKeyboard = Keyboard::make();
}

private function handleCallbackQuery(): void
protected function handleCallbackQuery(): void
{
$this->extractCallbackQueryData();

Expand All @@ -73,7 +73,7 @@ private function handleCallbackQuery(): void
App::call([$this, $action], $this->data->toArray());
}

private function handleCommand(Stringable $text): void
protected function handleCommand(Stringable $text): void
{
[$command, $parameter] = $this->parseCommand($text);

Expand All @@ -97,7 +97,7 @@ protected function handleUnknownCommand(Stringable $text): void
}
}

private function handleMessage(): void
protected function handleMessage(): void
{
$this->extractMessageData();

Expand Down

0 comments on commit 260823f

Please sign in to comment.