@@ -72,7 +72,6 @@ discard block |
||
72 | 72 | /** |
73 | 73 | * Gets the Cache namespace key for Redis |
74 | 74 | * |
75 | - * @param string $string |
|
76 | 75 | */ |
77 | 76 | public function getCacheNamespace() |
78 | 77 | { |
@@ -145,7 +144,7 @@ discard block |
||
145 | 144 | * Sets JSON encoded value within Redis with an expiry in seconds |
146 | 145 | * |
147 | 146 | * @param string $key |
148 | - * @param mixed $value Data to encode into JSON and store |
|
147 | + * @param string $value Data to encode into JSON and store |
|
149 | 148 | * @param integer $expires Cache expiry time in seconds |
150 | 149 | */ |
151 | 150 | public function setExpireKey($key, $value, $expires) |
@@ -149,7 +149,7 @@ |
||
149 | 149 | * Takes common requests and appends them to the query object. Any other |
150 | 150 | * special requirements will be handled after |
151 | 151 | * |
152 | - * @param Ps2alerts\Api\QueryObjects\QueryObject $queryObject |
|
152 | + * @param QueryObject $queryObject |
|
153 | 153 | * @param array $post |
154 | 154 | * |
155 | 155 | * @return Ps2alerts\Api\QueryObjects\QueryObject |
@@ -54,7 +54,7 @@ |
||
54 | 54 | * in the array and added to. |
55 | 55 | * e.g. $queryObject->addSelect('COUNT(ResultID) AS COUNT'); |
56 | 56 | * |
57 | - * @param string $string |
|
57 | + * @param string $array |
|
58 | 58 | */ |
59 | 59 | public function addSelect($array) |
60 | 60 | { |
@@ -16,26 +16,26 @@ |
||
16 | 16 | |
17 | 17 | // Inflectors |
18 | 18 | $container->inflector('Ps2alerts\Api\Contract\ConfigAwareInterface') |
19 | - ->invokeMethod('setConfig', ['config']); |
|
19 | + ->invokeMethod('setConfig', ['config']); |
|
20 | 20 | $container->inflector('Ps2alerts\Api\Contract\DatabaseAwareInterface') |
21 | - ->invokeMethod('setDatabaseDriver', ['Aura\Sql']); |
|
21 | + ->invokeMethod('setDatabaseDriver', ['Aura\Sql']); |
|
22 | 22 | $container->inflector('Ps2alerts\Api\Contract\LogAwareInterface') |
23 | - ->invokeMethod('setLogDriver', ['Monolog\Logger']); |
|
23 | + ->invokeMethod('setLogDriver', ['Monolog\Logger']); |
|
24 | 24 | $container->inflector('Ps2alerts\Api\Contract\TemplateAwareInterface') |
25 | - ->invokeMethod('setTemplateDriver', ['Twig_Environment']); |
|
25 | + ->invokeMethod('setTemplateDriver', ['Twig_Environment']); |
|
26 | 26 | $container->inflector('Ps2alerts\Api\Contract\RedisAwareInterface') |
27 | - ->invokeMethod('setRedisDriver', ['redis']); |
|
27 | + ->invokeMethod('setRedisDriver', ['redis']); |
|
28 | 28 | |
29 | 29 | $container->add('Ps2alerts\Api\Validator\AlertInputValidator'); |
30 | 30 | |
31 | 31 | $container->add('Ps2alerts\Api\Repository\AlertRepository'); |
32 | 32 | |
33 | 33 | $container->add('Ps2alerts\Api\Loader\Statistics\AlertStatisticsLoader') |
34 | - ->withArgument('Ps2alerts\Api\Repository\AlertRepository') |
|
35 | - ->withArgument('Ps2alerts\Api\Validator\AlertInputValidator'); |
|
34 | + ->withArgument('Ps2alerts\Api\Repository\AlertRepository') |
|
35 | + ->withArgument('Ps2alerts\Api\Validator\AlertInputValidator'); |
|
36 | 36 | |
37 | 37 | // Container Inflector |
38 | 38 | $container->inflector('League\Container\ContainerAwareInterface') |
39 | - ->invokeMethod('setContainer', [$container]); |
|
39 | + ->invokeMethod('setContainer', [$container]); |
|
40 | 40 | |
41 | 41 | return $container; |