Fix according CS rules

This commit is contained in:
Simon Bouland 2020-01-07 18:56:59 +01:00 committed by GitHub
parent 56266a9c94
commit 01edb7db70
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,11 +144,11 @@ abstract class WriterAbstract implements WriterInterface
} }
/** /**
* @link https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition
* @link https://tools.ietf.org/html/rfc5987 * @see https://tools.ietf.org/html/rfc5987
* @link https://tools.ietf.org/html/rfc2231#section-4 * @see https://tools.ietf.org/html/rfc2231#section-4
*/ */
protected function getContentDispositionHeader(): string protected function getContentDispositionHeader() : string
{ {
return 'Content-Disposition: attachment; filename="' . iconv('UTF-8', 'ASCII//IGNORE', $this->outputFilePath) . '"; filename*=utf-8\'\'' . rawurlencode($this->outputFilePath); return 'Content-Disposition: attachment; filename="' . iconv('UTF-8', 'ASCII//IGNORE', $this->outputFilePath) . '"; filename*=utf-8\'\'' . rawurlencode($this->outputFilePath);
} }