Skip to content

Commit

Permalink
fix: phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland committed Nov 30, 2024
1 parent ae31b9b commit bc66315
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Mime/MimeTypeDetector.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit bc66315

Please sign in to comment.