mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Fixed static analysis issues
This commit is contained in:
parent
c1d1270d59
commit
e97a149474
2 changed files with 1 additions and 2 deletions
|
@ -169,7 +169,7 @@ class ProjectController extends AbstractController
|
||||||
//Clear existing BOM entries if requested
|
//Clear existing BOM entries if requested
|
||||||
if ($form->get('clear_existing_bom')->getData()) {
|
if ($form->get('clear_existing_bom')->getData()) {
|
||||||
$project->getBomEntries()->clear();
|
$project->getBomEntries()->clear();
|
||||||
$entityManager->flush($project);
|
$entityManager->flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -59,7 +59,6 @@ class BOMImporter
|
||||||
* @param File $file
|
* @param File $file
|
||||||
* @param array $options
|
* @param array $options
|
||||||
* @param Project $project
|
* @param Project $project
|
||||||
* @param array $errors
|
|
||||||
* @return ProjectBOMEntry[]
|
* @return ProjectBOMEntry[]
|
||||||
*/
|
*/
|
||||||
public function importFileIntoProject(File $file, Project $project, array $options): array
|
public function importFileIntoProject(File $file, Project $project, array $options): array
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue