Skip to content

Commit

Permalink
Use static late binding for mime type
Browse files Browse the repository at this point in the history
  • Loading branch information
L45eMy authored Sep 30, 2024
1 parent 257dd21 commit cc368d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PKPass.php
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ public function create($output = false)

// Output pass
header('Content-Description: File Transfer');
header('Content-Type: ' . self::MIME_TYPE);
header('Content-Type: ' . static::MIME_TYPE);
header('Content-Disposition: attachment; filename="' . $this->getName() . '"');
header('Content-Transfer-Encoding: binary');
header('Connection: Keep-Alive');
Expand Down

0 comments on commit cc368d1

Please sign in to comment.