mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-22 01:49:05 +02:00
Apply symplify checkers.
This commit is contained in:
parent
d0b1024d80
commit
349ab706cc
6 changed files with 17 additions and 11 deletions
|
@ -191,9 +191,9 @@ class PartController extends AbstractController
|
|||
|
||||
return $this->render('Parts/edit/edit_part_info.html.twig',
|
||||
[
|
||||
'part' => $part,
|
||||
'part' => $part,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -315,8 +315,8 @@ class PartController extends AbstractController
|
|||
|
||||
return $this->render('Parts/edit/new_part.html.twig',
|
||||
[
|
||||
'part' => $new_part,
|
||||
'part' => $new_part,
|
||||
'form' => $form->createView(),
|
||||
]);
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue