@@ -225,7 +225,7 @@ |
||
| 225 | 225 | /** |
| 226 | 226 | * Add roles to form |
| 227 | 227 | * |
| 228 | - * @param Form $form The form in which to insert the roles |
|
| 228 | + * @param \Symfony\Component\Form\Form $form The form in which to insert the roles |
|
| 229 | 229 | * @param Group $group The entity to deal |
| 230 | 230 | * @return Form The form |
| 231 | 231 | */ |
@@ -195,6 +195,9 @@ |
||
| 195 | 195 | } |
| 196 | 196 | } |
| 197 | 197 | |
| 198 | + /** |
|
| 199 | + * @param string $entityName |
|
| 200 | + */ |
|
| 198 | 201 | private function testReturnParam($entity, $entityName) { |
| 199 | 202 | if ($entityName === 'company' || $entityName === 'settings' || $entityName === 'tva') { |
| 200 | 203 | $param = array('id' => $entity->getId()); |