Skip to content

Commit

Permalink
modified return type of getMimeTypeName in MimeTypeInterface.php so i…
Browse files Browse the repository at this point in the history
…t can return null
  • Loading branch information
dwilbourne committed Aug 5, 2024
1 parent df60476 commit f732df3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/http/mimetype/MimeTypeInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ public function setMimeTypeName(string $mimeTypeName): void;

/**
* getMimeTypeName
* @return string
* @return string|null
* full name of the mime type, e.g. 'application/javascript'
*/
public function getMimeTypeName(): string;
public function getMimeTypeName(): ?string;

/**
* setFileExtensions
Expand Down

0 comments on commit f732df3

Please sign in to comment.