From 436def80742fd928530c592a27c367a0ae3924f9 Mon Sep 17 00:00:00 2001 From: Github Actions Workflow Date: Wed, 31 May 2023 13:07:30 +0000 Subject: [PATCH] PHP code fixes --- src/Controller/SearchViewController.php | 4 ---- src/PathProcessor/AcdhRepoGuiPathProcessor.php | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Controller/SearchViewController.php b/src/Controller/SearchViewController.php index ee658a4..3c83b34 100644 --- a/src/Controller/SearchViewController.php +++ b/src/Controller/SearchViewController.php @@ -13,8 +13,6 @@ */ class SearchViewController extends \Drupal\acdh_repo_gui\Controller\ArcheBaseController { - - public function displayLeftSideSearchBlock() { $myForm = $this->formBuilder()->getForm('Drupal\acdh_repo_gui\Form\ComplexSearchForm'); @@ -37,8 +35,6 @@ public function displayLeftSideSearchBlock() public function generateView(string $metavalue): array { - - return [ '#theme' => 'arche-smart-search-result-view', '#attached' => [ diff --git a/src/PathProcessor/AcdhRepoGuiPathProcessor.php b/src/PathProcessor/AcdhRepoGuiPathProcessor.php index 8d8d8b5..b6c9405 100644 --- a/src/PathProcessor/AcdhRepoGuiPathProcessor.php +++ b/src/PathProcessor/AcdhRepoGuiPathProcessor.php @@ -38,7 +38,7 @@ public function processInbound($path, Request $request) $names = str_replace('/', ':', $names); return "/api/smartsearch/$names"; } - * + * */ return $path;