@@ -7,6 +7,9 @@ discard block |
||
7 | 7 | |
8 | 8 | interface AdapterInterface |
9 | 9 | { |
10 | + /** |
|
11 | + * @return void |
|
12 | + */ |
|
10 | 13 | public function __construct(array $config); |
11 | 14 | |
12 | 15 | /** |
@@ -22,6 +25,10 @@ discard block |
||
22 | 25 | public function deleteMulti(array $keys): bool; |
23 | 26 | public function flush(): bool; |
24 | 27 | public function getNamespace(): string; |
28 | + |
|
29 | + /** |
|
30 | + * @return void |
|
31 | + */ |
|
25 | 32 | public function setNamespace(string $namespace); |
26 | 33 | public function cacheNotFoundKeys(): bool; |
27 | 34 | } |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Linio\Component\Cache\Adapter; |
5 | 5 |
@@ -178,6 +178,9 @@ |
||
178 | 178 | return $this->recursiveSet($key, $value); |
179 | 179 | } |
180 | 180 | |
181 | + /** |
|
182 | + * @param string $value |
|
183 | + */ |
|
181 | 184 | protected function recursiveSet(string $key, $value, int $level = null): bool |
182 | 185 | { |
183 | 186 | $adapterStack = $this->getAdapterStack(); |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Linio\Component\Cache\Adapter; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Linio\Component\Cache\Adapter; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Linio\Component\Cache\Adapter; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Linio\Component\Cache\Adapter; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Linio\Component\Cache\Adapter; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Linio\Component\Cache\Adapter; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Linio\Component\Cache\Adapter; |
5 | 5 |
@@ -1,5 +1,5 @@ |
||
1 | 1 | <?php |
2 | -declare(strict_types=1); |
|
2 | +declare(strict_types = 1); |
|
3 | 3 | |
4 | 4 | namespace Linio\Component\Cache\Adapter; |
5 | 5 |