Skip to content

Commit

Permalink
[phpstorm-stubs] WI-79137 fix parameter type for mime_content_type
Browse files Browse the repository at this point in the history
  • Loading branch information
isfedorov committed Nov 15, 2024
1 parent 893a3bc commit 11c0885
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fileinfo/fileinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ function finfo_buffer(#[LanguageLevelTypeAware(['8.1' => 'finfo'], default: 'res
/**
* Detect MIME Content-type for a file
* @link https://php.net/manual/en/function.mime-content-type.php
* @param string $filename <p>
* @param resource|string $filename <p>
* Path to the tested file.
* </p>
* @return string|false the content type in MIME format, like
Expand Down

0 comments on commit 11c0885

Please sign in to comment.