Skip to content

Commit

Permalink
Fix for coding standards. (#1040)
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-vessey authored Jul 10, 2024
1 parent 60a1678 commit 60f4925
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ protected function defineOptions() {
*/
protected function addSearchEndpoint(array &$json, array $url_components) {
$url_base = $this->getRequest()->getSchemeAndHttpHost();
$hocr_search_path = $this->options['search_endpoint'] ?? null;
$hocr_search_path = $this->options['search_endpoint'] ?? NULL;

if ($hocr_search_path) {
$hocr_search_url = $url_base . '/' . ltrim($hocr_search_path, '/');
Expand Down

0 comments on commit 60f4925

Please sign in to comment.