You can write it directly e.g. like this:
```php
$httpResponse->setHeader('Content-Disposition', ($this->forceDownload ? 'attachment' : 'inline') . '; filename="' . $this->name . '"');
```

Or split it to more lines if get is too long.