summaryrefslogtreecommitdiff
path: root/classes/DiskCache.php
diff options
context:
space:
mode:
authorwn_ <invalid@email.com>2024-12-10 20:31:16 +0000
committerwn_ <invalid@email.com>2024-12-14 12:26:59 +0000
commita1bd6cea1bbb3041ee8e2ba44a80cd2ea0b8209f (patch)
tree7b52637ba8866c2efec6eb5a0c8adb75474038d6 /classes/DiskCache.php
parent333bab90a7d4d159d001e3f0579b10cced763249 (diff)
Use native typing in more places and clean up 'FeedEnclosure' a bit.
Diffstat (limited to 'classes/DiskCache.php')
-rw-r--r--classes/DiskCache.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/classes/DiskCache.php b/classes/DiskCache.php
index c52759a75..70b8de173 100644
--- a/classes/DiskCache.php
+++ b/classes/DiskCache.php
@@ -1,10 +1,9 @@
<?php
class DiskCache implements Cache_Adapter {
- /** @var Cache_Adapter $adapter */
- private $adapter;
+ private Cache_Adapter $adapter;
/** @var array<string, DiskCache> $instances */
- private static $instances = [];
+ private static array $instances = [];
/**
* https://stackoverflow.com/a/53662733