@@ -100,7 +100,7 @@ |
||
| 100 | 100 | if (mb_strtoupper($question->a1, 'UTF-8') == mb_strtoupper($message['text'], 'UTF-8')) { |
| 101 | 101 | // Correct answer! |
| 102 | 102 | |
| 103 | - $user->setPoints($user->getPoints()+$question->price); |
|
| 103 | + $user->setPoints($user->getPoints() + $question->price); |
|
| 104 | 104 | $this->em->persist($user); |
| 105 | 105 | |
| 106 | 106 | $this->botApi->sendMessage( |
@@ -36,7 +36,7 @@ |
||
| 36 | 36 | |
| 37 | 37 | /** @var Game $game */ |
| 38 | 38 | foreach ($games as $game) { |
| 39 | - if($input->getOption('success')) { |
|
| 39 | + if ($input->getOption('success')) { |
|
| 40 | 40 | $tgApi->sendMessage($game->chatId, 'Bot is back online! The game continues...'); |
| 41 | 41 | } else { |
| 42 | 42 | $tgApi->sendMessage($game->chatId, 'Bot rebooting due to deploy, sorry. The game will continue once bot boots again.'); |