AdminCrudBundle icon indicating copy to clipboard operation
AdminCrudBundle copied to clipboard

[Insight] Missing use statement should be avoided - in Controller/BackendController.php, line 56

Open gonzaloalonsod opened this issue 8 years ago • 0 comments

in Controller/BackendController.php, line 56

The Exception class resolves to the following classes: Imagine\Exception\Exception or Symfony\Component\Config\Definition\Exception\Exception or Ivory\CKEditorBundle\Exception\Exception. Did you forget to add a corresponding use statement for one of them?

                        $entity->$fieldname_set(true);
                    }

                    $em->flush();
                    $res = true;
                } catch (Exception $e) {}
            }
        }

        $response = new JsonResponse();
        $response->setData($res);

Posted from SensioLabsInsight

gonzaloalonsod avatar Sep 07 '17 18:09 gonzaloalonsod