@@ -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()); |
@@ -189,7 +189,7 @@ |
||
| 189 | 189 | * |
| 190 | 190 | * @param \Symfony\Component\HttpFoundation\Request $request Form request |
| 191 | 191 | * @param \AppBundle\Entity\Supplier $supplier Supplier to desactivate |
| 192 | - * @return array |
|
| 192 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
| 193 | 193 | */ |
| 194 | 194 | public function changeAction(Request $request, Supplier $supplier) |
| 195 | 195 | { |
@@ -269,7 +269,7 @@ |
||
| 269 | 269 | * @Method("GET") |
| 270 | 270 | * @Template() |
| 271 | 271 | * |
| 272 | - * @param \AppBundle\Entity\Inventory $orders Inventory item to print |
|
| 272 | + * @param Orders $orders Inventory item to print |
|
| 273 | 273 | * @return \Symfony\Component\HttpFoundation\Response |
| 274 | 274 | */ |
| 275 | 275 | public function printAction(Orders $orders) |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | /** |
| 159 | 159 | * Get amount |
| 160 | 160 | * |
| 161 | - * @return string |
|
| 161 | + * @return double |
|
| 162 | 162 | */ |
| 163 | 163 | public function getAmount() |
| 164 | 164 | { |
@@ -181,7 +181,7 @@ discard block |
||
| 181 | 181 | /** |
| 182 | 182 | * Get tva |
| 183 | 183 | * |
| 184 | - * @return string |
|
| 184 | + * @return double |
|
| 185 | 185 | */ |
| 186 | 186 | public function getTva() |
| 187 | 187 | { |