From 857eda5941744aa53fb0f6964cb1aada6b095444 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Chlo=C3=A9=20Zermatten?= Date: Fri, 23 Aug 2024 12:47:49 +0100 Subject: [PATCH] style: remove trailing spaces --- code/web/sys/SearchObject/SummonSearcher.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/code/web/sys/SearchObject/SummonSearcher.php b/code/web/sys/SearchObject/SummonSearcher.php index 68edbddba9..974a3f73d0 100644 --- a/code/web/sys/SearchObject/SummonSearcher.php +++ b/code/web/sys/SearchObject/SummonSearcher.php @@ -215,7 +215,7 @@ public function authenticate($settings, $queryString) { $headers['Authorization'] = "Summon $settings->summonApiId;$hmacHash"; if (!is_null($this->sessionId)){ $headers['x-summon-session-id'] = $this->sessionId; - } + } return $headers; } @@ -565,11 +565,11 @@ public function getSummonFilters() { if (is_array($value)) { foreach ($value as $val) { $encodedValue = urlencode($val); - $this->filters[] = urlencode($key) . ',' . $encodedValue . ','; + $this->filters[] = urlencode($key) . ',' . $encodedValue . ','; } } else { $encodedValue = urlencode($value); - $this->filters[] = urlencode($key) . ',' . $encodedValue . ','; + $this->filters[] = urlencode($key) . ',' . $encodedValue . ','; } } return $this->filters; @@ -633,7 +633,7 @@ public function sendRequest() { $headers = $this->authenticate($settings, $queryString); $recordData = $this->httpRequest($baseUrl, $queryString, $headers); if (!empty($recordData)){ - $recordData = $this->processData($recordData); + $recordData = $this->processData($recordData); $this->stopQueryTimer(); } return $recordData; @@ -822,7 +822,7 @@ public function getresultsTotal(){ return $this->resultsTotal; } - public function processSearch($returnIndexErrors = false, $recommendations = false, $preventQueryModification = false) { + public function processSearch($returnIndexErrors = false, $recommendations = false, $preventQueryModification = false) { } public function __destruct() {