@@ -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, |