@@ -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 | { |
@@ -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 | { |
@@ -257,6 +257,9 @@ |
||
257 | 257 | } |
258 | 258 | } |
259 | 259 | |
260 | + /** |
|
261 | + * @param string $entityName |
|
262 | + */ |
|
260 | 263 | private function testReturnParam($entity, $entityName) |
261 | 264 | { |
262 | 265 | $entityArray = ['company', 'settings', 'group', 'tva']; |
@@ -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) |