@@ -13,14 +13,14 @@ |
||
| 13 | 13 | public function get($key, $default = null):mixed |
| 14 | 14 | { |
| 15 | 15 | //ToDo: Move str_replace to Business + add cache disable option means has = always false |
| 16 | - return $this->getFactory()->createSimpleCache()->get(\str_replace('/','',$key), $default); |
|
| 16 | + return $this->getFactory()->createSimpleCache()->get(\str_replace('/', '', $key), $default); |
|
| 17 | 17 | } |
| 18 | 18 | public function has($key):bool |
| 19 | 19 | { |
| 20 | - return $this->getFactory()->createSimpleCache()->has(\str_replace('/','',$key)); |
|
| 20 | + return $this->getFactory()->createSimpleCache()->has(\str_replace('/', '', $key)); |
|
| 21 | 21 | } |
| 22 | 22 | public function set($key, $value, $ttl = 600):bool |
| 23 | 23 | { |
| 24 | - return $this->getFactory()->createSimpleCache()->set(\str_replace('/','',$key), $value, $ttl); |
|
| 24 | + return $this->getFactory()->createSimpleCache()->set(\str_replace('/', '', $key), $value, $ttl); |
|
| 25 | 25 | } |
| 26 | 26 | } |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of forecast.it.fill project. |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of forecast.it.fill project. |
@@ -1,6 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types = 1); |
|
| 3 | +declare(strict_types=1); |
|
| 4 | 4 | |
| 5 | 5 | /* |
| 6 | 6 | * This file is part of forecast.it.fill project. |