Skip to content

Commit

Permalink
style: remove trailing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Chloe070196 committed Aug 23, 2024
1 parent 06e4664 commit 857eda5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions code/web/sys/SearchObject/SummonSearcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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() {
Expand Down

0 comments on commit 857eda5

Please sign in to comment.