@@ -223,7 +223,7 @@ |
||
| 223 | 223 | * @param Object $entity Entity |
| 224 | 224 | * @param \Symfony\Component\HttpFoundation\Request $request Request in progress |
| 225 | 225 | * @param string $entityName Name of Entity |
| 226 | - * @return array |
|
| 226 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
| 227 | 227 | */ |
| 228 | 228 | public function abstractDeleteWithArticlesAction($entity, Request $request, $entityName) |
| 229 | 229 | { |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | /** |
| 48 | 48 | * Displays a form to edit an existing item entity. |
| 49 | 49 | * |
| 50 | - * @param Object $entity Entity |
|
| 50 | + * @param Orders $entity Entity |
|
| 51 | 51 | * @param string $entityName Name of Entity |
| 52 | 52 | * @param string $typePath Path of FormType |
| 53 | 53 | * @return array |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | /** |
| 70 | 70 | * Edits an existing item entity. |
| 71 | 71 | * |
| 72 | - * @param Object $entity Entity |
|
| 72 | + * @param Orders $entity Entity |
|
| 73 | 73 | * @param \Symfony\Component\HttpFoundation\Request $request Request in progress |
| 74 | 74 | * @param string $entityName Name of Entity |
| 75 | 75 | * @param string $typePath Path of FormType |
@@ -89,7 +89,7 @@ |
||
| 89 | 89 | $return = [$entityName => $entity, 'edit_form' => $editForm->createView(), ]; |
| 90 | 90 | |
| 91 | 91 | if ($editForm->isValid()) { |
| 92 | - if ($entityName === 'deliveries'){ |
|
| 92 | + if ($entityName === 'deliveries') { |
|
| 93 | 93 | $entity->setStatus(2); |
| 94 | 94 | $this->updateDeliveryArticles($entity, $etm); |
| 95 | 95 | } |