@@ -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 |
@@ -12,7 +12,7 @@ |
||
12 | 12 | /** |
13 | 13 | * Construct |
14 | 14 | * |
15 | - * @param \Ps2alerts\Api\Loader\Metrics\OutfitTotalsMetricsLoader $loader |
|
15 | + * @param OutfitTotalsMetricsLoader $loader |
|
16 | 16 | */ |
17 | 17 | public function __construct(OutfitTotalsMetricsLoader $loader) |
18 | 18 | { |
@@ -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) |
@@ -10,10 +10,10 @@ |
||
10 | 10 | use RedisAwareTrait; |
11 | 11 | |
12 | 12 | /** |
13 | - * Flag whether or not the result is allowed to be cached |
|
14 | - * |
|
15 | - * @var boolean |
|
16 | - */ |
|
13 | + * Flag whether or not the result is allowed to be cached |
|
14 | + * |
|
15 | + * @var boolean |
|
16 | + */ |
|
17 | 17 | |
18 | 18 | protected $cacheable = true; |
19 | 19 | /** |
@@ -16,7 +16,7 @@ |
||
16 | 16 | /** |
17 | 17 | * Construct |
18 | 18 | * |
19 | - * @param \Ps2alerts\Api\Repository\Metrics\OutfitTotalsRepository $repository |
|
19 | + * @param OutfitTotalsRepository $repository |
|
20 | 20 | */ |
21 | 21 | public function __construct(OutfitTotalsRepository $repository) |
22 | 22 | { |
@@ -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 |
@@ -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 |
@@ -143,7 +143,7 @@ |
||
143 | 143 | /** |
144 | 144 | * Allows setting of workaround flags |
145 | 145 | * |
146 | - * @param array|string $flags |
|
146 | + * @param string $flags |
|
147 | 147 | */ |
148 | 148 | public function setFlags($flags) |
149 | 149 | { |
@@ -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; |