Fix according CS rules

This commit is contained in:
Simon Bouland authored and GitHub committed 2020-01-07 18:56:59 +01:00
1 parent 56266a9c94
commit 01edb7db70
1 file changed
+4 -4
+4 -4
View File
@@ -144,11 +144,11 @@ abstract class WriterAbstract implements WriterInterface
}
/**
* @link https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition
* @link https://tools.ietf.org/html/rfc5987
* @link https://tools.ietf.org/html/rfc2231#section-4
* @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition
* @see https://tools.ietf.org/html/rfc5987
* @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);
}