<?php
/**
- * @copyright Copyright (C) 2020, Friendica
+ * @copyright Copyright (C) 2010-2021, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
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 = '';
}
}