@@ -17,21 +17,21 @@ |
||
17 | 17 | |
18 | 18 | // Inflectors |
19 | 19 | $container->inflector('Ps2alerts\Api\Contract\ConfigAwareInterface') |
20 | - ->invokeMethod('setConfig', ['config']); |
|
20 | + ->invokeMethod('setConfig', ['config']); |
|
21 | 21 | $container->inflector('Ps2alerts\Api\Contract\DatabaseAwareInterface') |
22 | - ->invokeMethod('setDatabaseDriver', ['Aura\Sql']); |
|
22 | + ->invokeMethod('setDatabaseDriver', ['Aura\Sql']); |
|
23 | 23 | $container->inflector('Ps2alerts\Api\Contract\LogAwareInterface') |
24 | - ->invokeMethod('setLogDriver', ['Monolog\Logger']); |
|
24 | + ->invokeMethod('setLogDriver', ['Monolog\Logger']); |
|
25 | 25 | $container->inflector('Ps2alerts\Api\Contract\TemplateAwareInterface') |
26 | - ->invokeMethod('setTemplateDriver', ['Twig_Environment']); |
|
26 | + ->invokeMethod('setTemplateDriver', ['Twig_Environment']); |
|
27 | 27 | $container->inflector('Ps2alerts\Api\Contract\RedisAwareInterface') |
28 | - ->invokeMethod('setRedisDriver', ['redis']); |
|
28 | + ->invokeMethod('setRedisDriver', ['redis']); |
|
29 | 29 | $container->inflector('Ps2alerts\Api\Contract\UuidAwareInterface') |
30 | - ->invokeMethod('setUuidDriver', ['Ramsey\Uuid\Uuid']); |
|
30 | + ->invokeMethod('setUuidDriver', ['Ramsey\Uuid\Uuid']); |
|
31 | 31 | |
32 | 32 | |
33 | 33 | // Container Inflector |
34 | 34 | $container->inflector('League\Container\ContainerAwareInterface') |
35 | - ->invokeMethod('setContainer', [$container]); |
|
35 | + ->invokeMethod('setContainer', [$container]); |
|
36 | 36 | |
37 | 37 | return $container; |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | $key = $this->returnKeyType($keyType); |
90 | 90 | |
91 | 91 | $query->cols(['*']) |
92 | - ->where("`{$key}` = '{$id}'"); |
|
92 | + ->where("`{$key}` = '{$id}'"); |
|
93 | 93 | |
94 | 94 | return $this->fireStatementAndReturn($query, true); |
95 | 95 | } |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | $key = $this->returnKeyType($keyType); |
108 | 108 | |
109 | 109 | $query->cols(['*']) |
110 | - ->where("`{$key}` = '{$id}'"); |
|
110 | + ->where("`{$key}` = '{$id}'"); |
|
111 | 111 | |
112 | 112 | return $this->fireStatementAndReturn($query); |
113 | 113 | } |