@@ -80,7 +80,7 @@ |
||
80 | 80 | * @return bool |
81 | 81 | * @throws \Psr\SimpleCache\InvalidArgumentException |
82 | 82 | * MUST be thrown if the $key string is not a legal value. |
83 | - */ |
|
83 | + */ |
|
84 | 84 | public function has($key) |
85 | 85 | { |
86 | 86 | return false; |
@@ -73,7 +73,7 @@ |
||
73 | 73 | */ |
74 | 74 | public function get($key, $default = null) |
75 | 75 | { |
76 | - if ($default === false) { |
|
76 | + if ($default === false) { |
|
77 | 77 | $this->logger->info("[Shmop Cache] Ignored $key because TTL=FALSE"); |
78 | 78 | return $default; |
79 | 79 | } |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | { |
11 | 11 | /** |
12 | 12 | * @param $keys |
13 | - * @param null $default |
|
13 | + * @param string $default |
|
14 | 14 | * @return array|iterable |
15 | 15 | * @throws \ByJG\Cache\InvalidArgumentException |
16 | 16 | * @throws \Psr\SimpleCache\InvalidArgumentException |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
44 | - * @param iterable $keys |
|
44 | + * @param string[] $keys |
|
45 | 45 | * @return bool|void |
46 | 46 | * @throws \Psr\SimpleCache\InvalidArgumentException |
47 | 47 | */ |