@@ -27,6 +27,9 @@ |
||
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | |
| 30 | + /** |
|
| 31 | + * @return integer |
|
| 32 | + */ |
|
| 30 | 33 | public function findGame(array $message) |
| 31 | 34 | { |
| 32 | 35 | $game = $this->em->getRepository('AppBundle:Game')->findOneBy(['chatId'=>$message['chat']['id']]); |