for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace SimpleSAML\Module\casserver\Http;
use Symfony\Component\HttpFoundation\Response;
class XmlResponse extends Response
{
public function __construct(?string $content = '', int $status = 200, array $headers = [])
parent::__construct($content, $status, array_merge($headers, [
'Content-Type' => 'text/xml; charset=UTF-8',
]));
}