@psalm-param CONTENT_TYPE $contentType
resource|null $stream:
public function __construct($stream, string $contentType) { }