protected function rawContent(array $request = [])
{
$hostname = DI::baseUrl()->getHost();
- $baseUrl = DI::baseUrl();
+ $baseUrl = (string)DI::baseUrl();
/** @var DOMDocument $xml */
XML::fromArray([
'template' => "$baseUrl/opensearch",
]);
- System::httpExit($xml->saveXML(), Response::TYPE_XML, 'application/opensearchdescription+xml');
+ $this->httpExit($xml->saveXML(), Response::TYPE_XML, 'application/opensearchdescription+xml');
}
}