Fixed phpstan issues

This commit is contained in:
Jan Böhmer 2026-06-07 14:11:53 +02:00
parent e018e1d821
commit 6ae4381551

View file

@ -90,7 +90,7 @@ class PartImportExportController extends AbstractController
goto ret;
}
if (!isset($errors) || $errors) {
if (!isset($errors) || $errors) { //@phpstan-ignore-line
$this->addFlash('error', 'parts.import.flash.error');
} else {
$this->addFlash('success', 'parts.import.flash.success');