mailparse_msg_get_part() can return false

According to the source, it returns false when called incorrectly, or when the requested part was not found.
This commit is contained in:
Jean-Luc Herren 2023-03-08 17:23:19 +01:00 committed by Ivan Fedorov
parent 7b055d8634
commit c9803bb1d7
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ function mailparse_msg_get_part_data($mimemail) {}
* A valid MIME resource.
* </p>
* @param string $mimesection
* @return resource
* @return resource|false
*/
function mailparse_msg_get_part($mimemail, $mimesection) {}