mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-24 12:09:02 -05:00
update: UNIT3D linting
- github action updated with new ruleset in pint.json - codebase linted with new ruleset - contributors can now run `./vendor/bin/pint` - action workflow will auto correct any lint issues upon commit/opened pull request
This commit is contained in:
@@ -22,6 +22,6 @@ class TicketAttachmentController extends Controller
|
||||
*/
|
||||
final public function download(TicketAttachment $attachment): \Symfony\Component\HttpFoundation\BinaryFileResponse
|
||||
{
|
||||
return \response()->download(\getcwd().'/files/attachments/attachments/'.$attachment->file_name)->deleteFileAfterSend(false);
|
||||
return response()->download(getcwd().'/files/attachments/attachments/'.$attachment->file_name)->deleteFileAfterSend(false);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user