Clean up some unused variables.

This is essentially 1ccc0c8c1a without the renames and some other things related to Psalm.
This commit is contained in:
wn_
2024-01-08 22:46:13 +00:00
parent f0f22c23c5
commit 8727fb3ba8
18 changed files with 13 additions and 53 deletions

View File

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