[TOOLS] Fix errors reported by PHPStan at level 4

This commit is contained in:
2021-12-26 22:17:26 +00:00
parent edd996d281
commit b84315c95b
19 changed files with 75 additions and 66 deletions

View File

@@ -224,7 +224,7 @@ class UserPanel extends Controller
unset($form_defs['placeholder']);
$tabbed_forms = [];
foreach ($form_defs as $transport_name => $f) {
foreach ($form_defs as $transport_name => $f) { // @phpstan-ignore-line
unset($f['save']);
$form = Form::create($f);
$tabbed_forms[$transport_name]['title'] = $transport_name;