Use native typing in more places and clean up 'FeedEnclosure' a bit.

This commit is contained in:
wn_
2024-12-10 20:31:16 +00:00
parent 333bab90a7
commit a1bd6cea1b
13 changed files with 71 additions and 115 deletions

View File

@@ -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