A constructor has usually no return value, and the implemented constructor does indeed not return anything.
/**
* Initialize categories and media relation
*
* @return \GeorgRinger\News\Domain\Model\News
*/
public function __construct()
{
$this->categories = new ObjectStorage();
$this->contentElements = new ObjectStorage();
$this->relatedLinks = new ObjectStorage();
$this->falMedia = new ObjectStorage();
$this->falRelatedFiles = new ObjectStorage();
$this->tags = new ObjectStorage();
}
A constructor has usually no return value, and the implemented constructor does indeed not return anything.
https://github.com/georgringer/news/blob/b4978880c685caa4fbd7c5ac585e3ffa83fd5b99/Classes/Domain/Model/News.php#L247