Skip to content

Multiple @throws do not have the same formatting rules as @param #26

@slaFFik

Description

@slaFFik

Consider this snippet:

 * @param string $email     The subscriber's current email address.
 * @param string $new_email The subscriber's new email address.
 *
 * @throws ResponseException Invalid response.
 * @throws RequiredArgumentMissingException Required argument is missing.

It looks inconsistent in the same phpdoc where we enforce special formatting for @param.

I think this looks better:

 * @param string $email     The subscriber's current email address.
 * @param string $new_email The subscriber's new email address.
 *
 * @throws ResponseException                Invalid response.
 * @throws RequiredArgumentMissingException Required argument is missing.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions