Skip to content

Commit

Permalink
PHPCS fixes, dafuq did these come from?!
Browse files Browse the repository at this point in the history
  • Loading branch information
noplanman committed May 24, 2024
1 parent 25e39af commit 60873f9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Commands/Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function preExecute(): ServerResponse
'text' => sprintf(
"/%s command is only available in a private chat.\n(`%s`)",
$this->getName(),
$message->getText()
$message->getText(),
),
]);
}
Expand Down Expand Up @@ -422,11 +422,11 @@ public function replyToChat(string $text, array $data = []): ServerResponse
'chat_id' => $message->getChat()->getId(),
'text' => $text,
];

if ($message->getIsTopicMessage()) {
$reply['message_thread_id'] = $message->getMessageThreadId();
}

return Request::sendMessage(array_merge($reply, $data));
}

Expand Down

0 comments on commit 60873f9

Please sign in to comment.