mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed code style.
This commit is contained in:
parent
2853e471c4
commit
d0b1024d80
212 changed files with 495 additions and 1005 deletions
|
@ -69,8 +69,6 @@ class LabelProfileController extends BaseAdminController
|
|||
|
||||
/**
|
||||
* @Route("/{id}", name="label_profile_delete", methods={"DELETE"})
|
||||
*
|
||||
* @return RedirectResponse
|
||||
*/
|
||||
public function delete(Request $request, LabelProfile $entity, StructuralElementRecursionHelper $recursionHelper): RedirectResponse
|
||||
{
|
||||
|
@ -80,8 +78,6 @@ class LabelProfileController extends BaseAdminController
|
|||
/**
|
||||
* @Route("/{id}/edit/{timestamp}", requirements={"id"="\d+"}, name="label_profile_edit")
|
||||
* @Route("/{id}", requirements={"id"="\d+"})
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
public function edit(LabelProfile $entity, Request $request, EntityManagerInterface $em, ?string $timestamp = null): Response
|
||||
{
|
||||
|
@ -92,8 +88,6 @@ class LabelProfileController extends BaseAdminController
|
|||
* @Route("/new", name="label_profile_new")
|
||||
* @Route("/{id}/clone", name="label_profile_clone")
|
||||
* @Route("/")
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
public function new(Request $request, EntityManagerInterface $em, EntityImporter $importer, ?AttachmentType $entity = null): Response
|
||||
{
|
||||
|
@ -102,8 +96,6 @@ class LabelProfileController extends BaseAdminController
|
|||
|
||||
/**
|
||||
* @Route("/export", name="label_profile_export_all")
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
public function exportAll(EntityManagerInterface $em, EntityExporter $exporter, Request $request): Response
|
||||
{
|
||||
|
@ -112,8 +104,6 @@ class LabelProfileController extends BaseAdminController
|
|||
|
||||
/**
|
||||
* @Route("/{id}/export", name="label_profile_export")
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
public function exportEntity(LabelProfile $entity, EntityExporter $exporter, Request $request): Response
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue