@@ -13,7 +13,7 @@ |
||
| 13 | 13 | /** |
| 14 | 14 | * Returns a single entry |
| 15 | 15 | * |
| 16 | - * @param Symfony\Component\HttpFoundation\Request $request |
|
| 16 | + * @param Request $request |
|
| 17 | 17 | * @param array $args |
| 18 | 18 | * |
| 19 | 19 | * @return \League\Route\Http\JsonResponse |
@@ -15,16 +15,16 @@ |
||
| 15 | 15 | |
| 16 | 16 | // Inflectors |
| 17 | 17 | $container->inflector('Ps2alerts\Api\Contract\ConfigAwareInterface') |
| 18 | - ->invokeMethod('setConfig', ['config']); |
|
| 18 | + ->invokeMethod('setConfig', ['config']); |
|
| 19 | 19 | $container->inflector('Ps2alerts\Api\Contract\DatabaseAwareInterface') |
| 20 | - ->invokeMethod('setDatabaseDriver', ['Aura\Sql']); |
|
| 20 | + ->invokeMethod('setDatabaseDriver', ['Aura\Sql']); |
|
| 21 | 21 | $container->inflector('Ps2alerts\Api\Contract\TemplateAwareInterface') |
| 22 | - ->invokeMethod('setTemplateDriver', ['Twig_Environment']); |
|
| 22 | + ->invokeMethod('setTemplateDriver', ['Twig_Environment']); |
|
| 23 | 23 | $container->inflector('Ps2alerts\Api\Contract\RedisAwareInterface') |
| 24 | - ->invokeMethod('setRedisDriver', ['redis']); |
|
| 24 | + ->invokeMethod('setRedisDriver', ['redis']); |
|
| 25 | 25 | |
| 26 | 26 | // Container Inflector |
| 27 | 27 | $container->inflector('League\Container\ContainerAwareInterface') |
| 28 | - ->invokeMethod('setContainer', [$container]); |
|
| 28 | + ->invokeMethod('setContainer', [$container]); |
|
| 29 | 29 | |
| 30 | 30 | return $container; |