Completed
Push — master ( 08e6f3...81e954 )
by Kirill
02:15
created
src/Chrl/AppBundle/Service/GameService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@
 block discarded – undo
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(
Please login to merge, or discard this patch.
src/Chrl/AppBundle/Command/DeployCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
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.');
Please login to merge, or discard this patch.