private $returnCode;
/**
- * @var string[] the content type of the Curl call
+ * @var string the content type of the Curl call
*/
private $contentType;
private function checkInfo()
{
if (isset($this->info['content_type'])) {
- $this->contentType = [$this->info['content_type']];
+ $this->contentType = $this->info['content_type'];
} else {
- $this->contentType = [];
+ $this->contentType = '';
}
}