The mailparse_msg_extract_part has the following return type:
@return void
However, when passing a null value for the callbackfunc parameter, this function will return the content as a string.
In order to match this functionality and prevent errors in the IDE & static analyzers, the return type should be:
@return ?string
The mailparse_msg_extract_part has the following return type:
@return voidHowever, when passing a null value for the callbackfunc parameter, this function will return the content as a string.
In order to match this functionality and prevent errors in the IDE & static analyzers, the return type should be:
@return ?string