mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-23 02:09:03 +02:00
Fixed some inspection issues
This commit is contained in:
parent
a5cbe59a7c
commit
ba5ae35809
20 changed files with 35 additions and 36 deletions
|
@ -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'])
|
||||
;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue