mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-06 23:39:51 +01:00
Fixed static analysis issues
This commit is contained in:
@@ -169,7 +169,7 @@ class ProjectController extends AbstractController
|
||||
//Clear existing BOM entries if requested
|
||||
if ($form->get('clear_existing_bom')->getData()) {
|
||||
$project->getBomEntries()->clear();
|
||||
$entityManager->flush($project);
|
||||
$entityManager->flush();
|
||||
}
|
||||
|
||||
try {
|
||||
|
||||
@@ -59,7 +59,6 @@ class BOMImporter
|
||||
* @param File $file
|
||||
* @param array $options
|
||||
* @param Project $project
|
||||
* @param array $errors
|
||||
* @return ProjectBOMEntry[]
|
||||
*/
|
||||
public function importFileIntoProject(File $file, Project $project, array $options): array
|
||||
|
||||
Reference in New Issue
Block a user