Completed
Push — master ( 68ddf1...f17126 )
by Kirill
02:39
created
src/Chrl/AppBundle/Service/GameService.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,9 @@
 block discarded – undo
93 93
             /** @var Question $question */
94 94
             $question = $this->em->getRepository('AppBundle:Question')->find($game->lastQuestion);
95 95
 
96
-            if (!$question) return;
96
+            if (!$question) {
97
+                return;
98
+            }
97 99
 
98 100
             if (mb_strtoupper($question->a1,'UTF-8') == mb_strtoupper($message['text'],'UTF-8')) {
99 101
                 // Correct answer!
Please login to merge, or discard this patch.