Completed
Push — master ( 630db2...59081b )
by Laurent
03:27
created
src/AppBundle/Controller/AbstractController.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -257,7 +257,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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'];
Please login to merge, or discard this patch.