Add 2 underscoed instead of none

This commit is contained in:
LEDfan
2015-09-01 16:01:44 +02:00
parent a1c8a2bc28
commit f73893ab56

View File

@@ -542,7 +542,7 @@ Creating a custom XMLResponse class could look like this:
private $xml;
public function construct(array $xml) {
public function __construct(array $xml) {
$this->addHeader('Content-Type', 'application/xml');
$this->xml = $xml;
}