@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | $key = $this->returnKeyType($keyType); |
82 | 82 | |
83 | 83 | $query->cols(['*']) |
84 | - ->where("{$key} = {$id}"); |
|
84 | + ->where("{$key} = {$id}"); |
|
85 | 85 | |
86 | 86 | return $this->fireStatementAndReturn($query, true); |
87 | 87 | } |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | $key = $this->returnKeyType($keyType); |
100 | 100 | |
101 | 101 | $query->cols(['*']) |
102 | - ->where("{$key} = {$id}"); |
|
102 | + ->where("{$key} = {$id}"); |
|
103 | 103 | |
104 | 104 | return $this->fireStatementAndReturn($query); |
105 | 105 | } |
@@ -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; |