Completed
Push — master ( 81e954...315248 )
by Kirill
01:55
created
src/Chrl/AppBundle/Service/GameService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
             if (mb_strtoupper($question->a1, 'UTF-8') == mb_strtoupper($message['text'], 'UTF-8')) {
113 113
                 // Correct answer!
114 114
 
115
-                $user->setPoints($user->getPoints()+$question->price);
115
+                $user->setPoints($user->getPoints() + $question->price);
116 116
                 $this->em->persist($user);
117 117
 
118 118
                 $this->botApi->sendMessage(
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 
152 152
     public function askQuestion(Game $game, Question $question)
153 153
     {
154
-        $this->botApi->sendMessage($game->chatId, '*[question]* '.$question->text.' _('.mb_strlen($question->a1,'UTF-8').'letters)_', 'markdown');
154
+        $this->botApi->sendMessage($game->chatId, '*[question]* '.$question->text.' _('.mb_strlen($question->a1, 'UTF-8').'letters)_', 'markdown');
155 155
     }
156 156
 
157 157
     /**
Please login to merge, or discard this patch.