projects
/
m6w6
/
seekat
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
update to PHP-8.1
[m6w6/seekat]
/
lib
/
API
/
Call
/
Cache
/
Service
/
Hollow.php
diff --git
a/lib/API/Call/Cache/Service/Hollow.php
b/lib/API/Call/Cache/Service/Hollow.php
index f08d6d65b919bb114c4263f489719aa8f723f682..dd81ba352ecaf5b6615901aa01b59b0f6c79df74 100644
(file)
--- a/
lib/API/Call/Cache/Service/Hollow.php
+++ b/
lib/API/Call/Cache/Service/Hollow.php
@@
-6,7
+6,7
@@
use http\Client\Response;
use seekat\API\Call\Cache\Service;
final class Hollow implements Service {
use seekat\API\Call\Cache\Service;
final class Hollow implements Service {
- private $storage = [];
+ private
array
$storage = [];
public function fetch(string $key, Response &$response = null) : bool {
if (isset($this->storage[$key])) {
public function fetch(string $key, Response &$response = null) : bool {
if (isset($this->storage[$key])) {
@@
-21,11
+21,11
@@
final class Hollow implements Service {
return true;
}
return true;
}
- public function del(string $key) {
+ public function del(string $key)
: void
{
unset($this->storage[$key]);
}
unset($this->storage[$key]);
}
- public function clear() {
+ public function clear()
: void
{
$this->storage = [];
}
$this->storage = [];
}