Clean up some unused variables.
This is essentially https://gitlab.tt-rss.org/wn/tt-rss/-/commit/1ccc0c8c1af04dd9654b585c6d07e3a75d944a0c without the renames and some other things related to Psalm.
This commit is contained in:
@@ -206,7 +206,7 @@ class DiskCache implements Cache_Adapter {
|
||||
}
|
||||
|
||||
public function __construct(string $dir) {
|
||||
foreach (PluginHost::getInstance()->get_plugins() as $n => $p) {
|
||||
foreach (PluginHost::getInstance()->get_plugins() as $p) {
|
||||
if (implements_interface($p, "Cache_Adapter")) {
|
||||
|
||||
/** @var Cache_Adapter $p */
|
||||
|
||||
Reference in New Issue
Block a user