From f732df34851c7eca158c80ca2dd1e727ab710d4a Mon Sep 17 00:00:00 2001 From: Doug Wilbourne Date: Mon, 5 Aug 2024 11:20:35 -0400 Subject: [PATCH] modified return type of getMimeTypeName in MimeTypeInterface.php so it can return null --- src/http/mimetype/MimeTypeInterface.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/http/mimetype/MimeTypeInterface.php b/src/http/mimetype/MimeTypeInterface.php index 4219048..4e0f859 100644 --- a/src/http/mimetype/MimeTypeInterface.php +++ b/src/http/mimetype/MimeTypeInterface.php @@ -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