Completed
Push — master ( 603188...dfca13 )
by Laurent
03:29
created
src/AppBundle/Controller/AbstractController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -195,6 +195,9 @@
 block discarded – undo
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());
Please login to merge, or discard this patch.
src/AppBundle/Controller/ArticleController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.