Skip to content

Commit

Permalink
[TASK] Remove duplicate withHeader()
Browse files Browse the repository at this point in the history
  • Loading branch information
christophlehmann authored and dkd-kaehm committed Oct 10, 2023
1 parent 529b21a commit f35f652
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ protected function exportFile(string $content, string $type = 'synonyms', string
->withHeader('Content-Type', 'text/plain; charset=utf-8')
->withHeader('Cache-control', 'public')
->withHeader('Content-Description', 'File transfer')
->withHeader('Content-Description', 'File transfer')
->withHeader(
'Content-disposition',
'attachment; filename =' . $type . '_' . $coreAdmin->getPrimaryEndpoint()->getCore() . '.' . $fileExtension
Expand Down

0 comments on commit f35f652

Please sign in to comment.