@@ -257,7 +257,7 @@ discard block |
||
| 257 | 257 | * @param Object $entity Entity |
| 258 | 258 | * @param Request $request Request in progress |
| 259 | 259 | * @param string $entityName Name of Entity |
| 260 | - * @return array |
|
| 260 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
| 261 | 261 | */ |
| 262 | 262 | public function abstractDeleteWithArticlesAction($entity, Request $request, $entityName) |
| 263 | 263 | { |
@@ -278,6 +278,9 @@ discard block |
||
| 278 | 278 | return $this->redirect($this->generateUrl($entityName)); |
| 279 | 279 | } |
| 280 | 280 | |
| 281 | + /** |
|
| 282 | + * @param string $entityName |
|
| 283 | + */ |
|
| 281 | 284 | private function testReturnParam($entity, $entityName) |
| 282 | 285 | { |
| 283 | 286 | $entityArray = ['company', 'settings', 'group', 'tva']; |