@@ -25,7 +25,7 @@ |
||
25 | 25 | |
26 | 26 | $container->setParameter('buktopuha.config', $config); |
27 | 27 | |
28 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
28 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
29 | 29 | $loader->load('services.yml'); |
30 | 30 | } |
31 | 31 |
@@ -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']]); |