@@ -93,7 +93,9 @@ |
||
| 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! |