@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | * @param string $key |
| 68 | 68 | * @param array $write_options |
| 69 | 69 | * |
| 70 | - * @return bool |
|
| 70 | + * @return boolean|null |
|
| 71 | 71 | */ |
| 72 | 72 | public function delete($key, array $write_options = []){} |
| 73 | 73 | |
@@ -109,6 +109,9 @@ discard block |
||
| 109 | 109 | */ |
| 110 | 110 | public function getSnapshot(){} |
| 111 | 111 | |
| 112 | + /** |
|
| 113 | + * @param string $name |
|
| 114 | + */ |
|
| 112 | 115 | static public function destroy($name, array $options = []){} |
| 113 | 116 | |
| 114 | 117 | static public function repair($name, array $options = []){} |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | |
| 290 | 290 | |
| 291 | 291 | /** |
| 292 | - * @return mixed |
|
| 292 | + * @return ExtendedCacheItemPoolInterface |
|
| 293 | 293 | */ |
| 294 | 294 | protected function backup() |
| 295 | 295 | { |
@@ -297,7 +297,7 @@ discard block |
||
| 297 | 297 | } |
| 298 | 298 | |
| 299 | 299 | /** |
| 300 | - * @param $file |
|
| 300 | + * @param string $file |
|
| 301 | 301 | * @return string |
| 302 | 302 | * @throws \Exception |
| 303 | 303 | */ |
@@ -479,7 +479,7 @@ discard block |
||
| 479 | 479 | * @param array $tags | array("a","b","c") |
| 480 | 480 | * @param int $time |
| 481 | 481 | * @param array $options |
| 482 | - * @return mixed |
|
| 482 | + * @return boolean |
|
| 483 | 483 | * @internal param array $option | $option = array("tags" => array("a","b","c") |
| 484 | 484 | */ |
| 485 | 485 | public function touchTags($tags = [], $time = 300, $options = []) |
@@ -500,7 +500,7 @@ discard block |
||
| 500 | 500 | /** |
| 501 | 501 | * @param array $tags | array("a","b","c") |
| 502 | 502 | * @param array $option | $option = array("tags" => array("a","b","c") |
| 503 | - * @return mixed |
|
| 503 | + * @return boolean |
|
| 504 | 504 | */ |
| 505 | 505 | public function deleteTags($tags = [], $option = []) |
| 506 | 506 | { |
@@ -522,7 +522,7 @@ discard block |
||
| 522 | 522 | * @param array $tags | array("a","b","c") |
| 523 | 523 | * @param integer |
| 524 | 524 | * @param array $option | $option = array("tags" => array("a","b","c") |
| 525 | - * @return mixed |
|
| 525 | + * @return boolean |
|
| 526 | 526 | */ |
| 527 | 527 | public function incrementTags($tags = [], $step = 1, $option = []) |
| 528 | 528 | { |
@@ -543,7 +543,7 @@ discard block |
||
| 543 | 543 | * @param array $tags | array("a","b","c") |
| 544 | 544 | * @param integer |
| 545 | 545 | * @param array $option | $option = array("tags" => array("a","b","c") |
| 546 | - * @return mixed |
|
| 546 | + * @return boolean |
|
| 547 | 547 | */ |
| 548 | 548 | public function decrementTags($tags = [], $step = 1, $option = []) |
| 549 | 549 | { |
@@ -20,7 +20,6 @@ discard block |
||
| 20 | 20 | trait PathSeekerTrait |
| 21 | 21 | { |
| 22 | 22 | /** |
| 23 | - * @param bool $skip_create_path |
|
| 24 | 23 | * @param $config |
| 25 | 24 | * @return string |
| 26 | 25 | * @throws \Exception |
@@ -155,7 +154,7 @@ discard block |
||
| 155 | 154 | |
| 156 | 155 | /** |
| 157 | 156 | * @param $filename |
| 158 | - * @return mixed |
|
| 157 | + * @return string |
|
| 159 | 158 | */ |
| 160 | 159 | protected static function cleanFileName($filename) |
| 161 | 160 | { |
@@ -170,7 +169,7 @@ discard block |
||
| 170 | 169 | } |
| 171 | 170 | |
| 172 | 171 | /** |
| 173 | - * @param $path |
|
| 172 | + * @param string $path |
|
| 174 | 173 | * @param bool $create |
| 175 | 174 | * @throws \Exception |
| 176 | 175 | */ |
@@ -157,7 +157,7 @@ discard block |
||
| 157 | 157 | |
| 158 | 158 | /** |
| 159 | 159 | * @param \Psr\Cache\CacheItemInterface $item |
| 160 | - * @return mixed |
|
| 160 | + * @return boolean |
|
| 161 | 161 | * @throws \InvalidArgumentException |
| 162 | 162 | */ |
| 163 | 163 | public function save(CacheItemInterface $item) |
@@ -175,7 +175,7 @@ discard block |
||
| 175 | 175 | } |
| 176 | 176 | |
| 177 | 177 | /** |
| 178 | - * @return mixed|null |
|
| 178 | + * @return boolean |
|
| 179 | 179 | * @throws \InvalidArgumentException |
| 180 | 180 | */ |
| 181 | 181 | public function commit() |
@@ -128,7 +128,7 @@ |
||
| 128 | 128 | } |
| 129 | 129 | |
| 130 | 130 | /** |
| 131 | - * @return bool |
|
| 131 | + * @return boolean|null |
|
| 132 | 132 | */ |
| 133 | 133 | public function driverConnect() |
| 134 | 134 | { |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * @param \Psr\Cache\CacheItemInterface $item |
| 56 | - * @return mixed |
|
| 56 | + * @return boolean |
|
| 57 | 57 | * @throws \InvalidArgumentException |
| 58 | 58 | */ |
| 59 | 59 | public function driverWrite(CacheItemInterface $item) |
@@ -112,7 +112,7 @@ discard block |
||
| 112 | 112 | |
| 113 | 113 | /** |
| 114 | 114 | * @param \Psr\Cache\CacheItemInterface $item |
| 115 | - * @return bool |
|
| 115 | + * @return boolean|null |
|
| 116 | 116 | * @throws \InvalidArgumentException |
| 117 | 117 | */ |
| 118 | 118 | public function driverIsHit(CacheItemInterface $item) |
@@ -53,7 +53,7 @@ discard block |
||
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * @param \Psr\Cache\CacheItemInterface $item |
| 56 | - * @return mixed |
|
| 56 | + * @return boolean |
|
| 57 | 57 | * @throws \InvalidArgumentException |
| 58 | 58 | */ |
| 59 | 59 | public function driverWrite(CacheItemInterface $item) |
@@ -70,7 +70,7 @@ discard block |
||
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | 72 | * @param $key |
| 73 | - * @return mixed |
|
| 73 | + * @return boolean |
|
| 74 | 74 | */ |
| 75 | 75 | public function driverRead($key) |
| 76 | 76 | { |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | 57 | * @param \Psr\Cache\CacheItemInterface $item |
| 58 | - * @return mixed |
|
| 58 | + * @return boolean|null |
|
| 59 | 59 | * @throws \InvalidArgumentException |
| 60 | 60 | */ |
| 61 | 61 | public function driverWrite(CacheItemInterface $item) |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | |
| 105 | 105 | /** |
| 106 | 106 | * @param \Psr\Cache\CacheItemInterface $item |
| 107 | - * @return bool |
|
| 107 | + * @return boolean|null |
|
| 108 | 108 | * @throws \InvalidArgumentException |
| 109 | 109 | */ |
| 110 | 110 | public function driverDelete(CacheItemInterface $item) |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | } |
| 121 | 121 | |
| 122 | 122 | /** |
| 123 | - * @return bool |
|
| 123 | + * @return boolean|null |
|
| 124 | 124 | */ |
| 125 | 125 | public function driverClear() |
| 126 | 126 | { |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | } |
| 136 | 136 | |
| 137 | 137 | /** |
| 138 | - * @return bool |
|
| 138 | + * @return boolean|null |
|
| 139 | 139 | */ |
| 140 | 140 | public function driverConnect() |
| 141 | 141 | { |