Fixed some inspection issues

This commit is contained in:
Jan Böhmer 2023-02-05 03:01:25 +01:00
parent a5cbe59a7c
commit ba5ae35809
20 changed files with 35 additions and 36 deletions

View file

@ -102,6 +102,7 @@ class ProjectBomEntriesDataTable implements DataTableTypeInterface
}
return $tmp;
}
throw new \Exception('This should never happen!');
},
])
@ -175,7 +176,7 @@ class ProjectBomEntriesDataTable implements DataTableTypeInterface
->from(ProjectBOMEntry::class, 'bom_entry')
->leftJoin('bom_entry.part', 'part')
->where('bom_entry.project = :project')
->setParameter('project', $options['project']);
->setParameter('project', $options['project'])
;
}