diff --git a/src/Commands/GenericmessageCommand.php b/src/Commands/GenericmessageCommand.php index 967f341..094061a 100755 --- a/src/Commands/GenericmessageCommand.php +++ b/src/Commands/GenericmessageCommand.php @@ -53,7 +53,7 @@ class GenericmessageCommand extends SystemCommand ]; $buttons = []; if ($message->getFrom() !== null) { - $buttons []= new InlineKeyboardButton([ + $buttons[] = new InlineKeyboardButton([ 'text' => '❌ Delete', 'callback_data' => json_encode([ 'action' => 'DELETE', // Since 2023-05-03 @@ -61,11 +61,11 @@ class GenericmessageCommand extends SystemCommand ]), ]); } - $buttons []= new InlineKeyboardButton([ + $buttons[] = new InlineKeyboardButton([ 'text' => 'FX ↔ VX', 'callback_data' => json_encode(['action' => 'FXVX']), ]); - $buttons []= new InlineKeyboardButton([ + $buttons[] = new InlineKeyboardButton([ 'text' => '🔄 Refresh', 'callback_data' => json_encode(['action' => 'REFRESH']), ]); @@ -76,4 +76,4 @@ class GenericmessageCommand extends SystemCommand return $this->replyToChat("https://fxtwitter.com/$author/status/$tweetId$photoNoText", $data); } -} \ No newline at end of file +}