@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | * |
76 | 76 | * @param string $key |
77 | 77 | * @param mixed $value |
78 | - * @return CacheDriverInterface |
|
78 | + * @return RedisDriver |
|
79 | 79 | */ |
80 | 80 | public function set($key, $value) |
81 | 81 | { |
@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | * Invalidate a cached value |
88 | 88 | * |
89 | 89 | * @param string $key |
90 | - * @return CacheDriverInterface |
|
90 | + * @return RedisDriver |
|
91 | 91 | */ |
92 | 92 | public function invalidate($key) |
93 | 93 | { |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * |
64 | 64 | * @param string $key |
65 | 65 | * @param mixed $value |
66 | - * @return CacheDriverInterface |
|
66 | + * @return SQLDriver |
|
67 | 67 | */ |
68 | 68 | public function set($key, $value) |
69 | 69 | { |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | * Invalidate a cached value |
82 | 82 | * |
83 | 83 | * @param string $key |
84 | - * @return CacheDriverInterface |
|
84 | + * @return SQLDriver |
|
85 | 85 | */ |
86 | 86 | public function invalidate($key) |
87 | 87 | { |
@@ -19,7 +19,7 @@ |
||
19 | 19 | /** |
20 | 20 | * Driver for caching via a traditional SQL database |
21 | 21 | */ |
22 | -class SQLDriver extends DB implements \Aviat\Ion\Cache\CacheDriverInterface { |
|
22 | +class SQLDriver extends DB implements \Aviat\Ion\Cache\CacheDriverInterface { |
|
23 | 23 | |
24 | 24 | /** |
25 | 25 | * The query builder object |
@@ -273,7 +273,8 @@ |
||
273 | 273 | |
274 | 274 | $params = []; |
275 | 275 | |
276 | - switch($failure->failedRule) { |
|
276 | + switch($failure->failedRule) |
|
277 | + { |
|
277 | 278 | case 'Aura\Router\Rule\Alows': |
278 | 279 | $params = [ |
279 | 280 | 'http_code' => 405, |
@@ -36,7 +36,7 @@ |
||
36 | 36 | * Create a new collection object |
37 | 37 | * |
38 | 38 | * @param ContainerInterface $container |
39 | - * @return boolean |
|
39 | + * @return false|null |
|
40 | 40 | */ |
41 | 41 | public function __construct(ContainerInterface $container) |
42 | 42 | { |
@@ -21,7 +21,7 @@ |
||
21 | 21 | * Retreive a cached value if it exists, otherwise, get the value |
22 | 22 | * from the passed arguments |
23 | 23 | * |
24 | - * @param object $object - object to retrieve fresh value from |
|
24 | + * @param \Aviat\AnimeClient\Model\Manga $object - object to retrieve fresh value from |
|
25 | 25 | * @param string $method - method name to call |
26 | 26 | * @param [array] $args - the arguments to pass to the retrieval method |
27 | 27 | * @return mixed - the cached or fresh data |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * |
51 | 51 | * @param string $key |
52 | 52 | * @param mixed $value |
53 | - * @return CacheDriverInterface |
|
53 | + * @return NullDriver |
|
54 | 54 | */ |
55 | 55 | public function set($key, $value) |
56 | 56 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | * Invalidate a cached value |
63 | 63 | * |
64 | 64 | * @param string $key |
65 | - * @return CacheDriverInterface |
|
65 | + * @return NullDriver |
|
66 | 66 | */ |
67 | 67 | public function invalidate($key) |
68 | 68 | { |