Skip to content

Incorrect return type for mailparse_msg_extract_part function #49

@moseslecce

Description

@moseslecce

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions