@@ -6,15 +6,15 @@ |
||
6 | 6 | { |
7 | 7 | public function run($message, $user) |
8 | 8 | { |
9 | - $game = $this->gameService->findGame($game); |
|
9 | + $game = $this->gameService->findGame($game); |
|
10 | 10 | |
11 | - $this->botApi->sendMessage( |
|
12 | - $game->chatId, |
|
13 | - 'Ok, changing question.', |
|
14 | - 'markdown' |
|
15 | - ); |
|
16 | - $this->gameService->em->persist($game); |
|
17 | - $this->gameService->em->flush(); |
|
18 | - $this->gameService->askQuestion($game); |
|
11 | + $this->botApi->sendMessage( |
|
12 | + $game->chatId, |
|
13 | + 'Ok, changing question.', |
|
14 | + 'markdown' |
|
15 | + ); |
|
16 | + $this->gameService->em->persist($game); |
|
17 | + $this->gameService->em->flush(); |
|
18 | + $this->gameService->askQuestion($game); |
|
19 | 19 | } |
20 | 20 | } |