fix: phpstan level=5
This commit is contained in:
parent
1638d558c5
commit
2947e4aac3
8 changed files with 13 additions and 32 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue