fix: phpstan level=5

This commit is contained in:
origami11@yandex.ru 2024-01-24 17:13:38 +03:00
parent 1638d558c5
commit 2947e4aac3
8 changed files with 13 additions and 32 deletions

View file

@ -18,16 +18,6 @@ class Top extends Composite
return implode(" - ", array_filter($this->doTree('_title', false), array($this, 'isNotNull')));
}
private function findGroup($groups, $file)
{
foreach ($groups as $key => $group) {
if (in_array($file, $group)) {
return $key;
}
}
return false;
}
function getId($pref)
{
$this->mid++;