From bc66315ea428438a180efbf8a80f9db44454a4ac Mon Sep 17 00:00:00 2001 From: IanM Date: Sat, 30 Nov 2024 14:02:49 +0000 Subject: [PATCH] fix: phpstan --- src/Mime/MimeTypeDetector.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mime/MimeTypeDetector.php b/src/Mime/MimeTypeDetector.php index 08fe075..5ede490 100644 --- a/src/Mime/MimeTypeDetector.php +++ b/src/Mime/MimeTypeDetector.php @@ -76,7 +76,7 @@ public function getMimeType(): ?string } } - private function getMimeInternally(): ?string + private function getMimeInternally(): bool|string { // Use existing MimeDetector library $mimeDetector = new MimeDetector($this->filePath);