Smile-SA/elasticsuite

View on GitHub

Showing 620 of 1,375 total issues

Avoid too many return statements within this method.
Open

                return $resultRedirect->setPath('*/*/edit', $returnParams);

    Avoid too many return statements within this method.
    Open

            return $resultRedirect->setPath('*/*/index');

      Avoid too many return statements within this method.
      Open

              return false;

        Avoid too many return statements within this method.
        Open

                return ['category_uid' => $result];

          Avoid too many return statements within this method.
          Open

                  return $controller->getResponse()->setBody($block->toHtml());

            Avoid too many return statements within this method.
            Open

                    return ['category_id' => $result];

              Avoid too many return statements within this method.
              Open

                          return [];

                Avoid too many return statements within this method.
                Open

                        return [];
                Severity: Minor
                Found in src/module-elasticsuite-catalog-graph-ql/Model/Resolver/Aggregations.php - About 30 mins to fix

                  Avoid too many return statements within this method.
                  Open

                          return $filters;
                  Severity: Minor
                  Found in src/module-elasticsuite-catalog-graph-ql/Model/Resolver/Aggregations.php - About 30 mins to fix

                    Avoid too many return statements within this method.
                    Open

                            return array_key_exists(array_shift($keys), $array);
                    Severity: Minor
                    Found in src/module-elasticsuite-tracker/Model/Event/DotObject.php - About 30 mins to fix

                      Avoid too many return statements within this method.
                      Open

                                      return $resultRedirect->setPath('*/*/');

                        Avoid too many return statements within this method.
                        Open

                                    return $resultRedirect->setPath('*/*/edit', ['thesaurus_id' => $this->getRequest()->getParam('thesaurus_id')]);

                          Avoid too many return statements within this method.
                          Open

                                  return $resultRedirect->setPath('*/*/index');

                            Avoid too many return statements within this method.
                            Open

                                    return false;

                              Avoid too many return statements within this method.
                              Open

                                          return [];

                                Avoid too many return statements within this method.
                                Open

                                        return $resultRedirect->setPath('*/*/index');

                                  Avoid too many return statements within this method.
                                  Open

                                              return $this->actionFactory->create('Magento\Framework\App\Action\Forward');
                                  Severity: Minor
                                  Found in src/module-elasticsuite-virtual-category/Controller/Router.php - About 30 mins to fix

                                    Avoid too many return statements within this method.
                                    Open

                                            return $resultRedirect->setPath('*/*/');

                                      Avoid too many return statements within this method.
                                      Open

                                              return $action;
                                      Severity: Minor
                                      Found in src/module-elasticsuite-virtual-category/Controller/Router.php - About 30 mins to fix

                                        Avoid too many return statements within this method.
                                        Open

                                                return $items;
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language