Skip to content
This repository was archived by the owner on Jul 12, 2020. It is now read-only.
This repository was archived by the owner on Jul 12, 2020. It is now read-only.

[ExtractMethod] Detect return statements #3

Open
@beberlei

Description

@beberlei

If the extracted code contains return statement(s), then the newly created method call should be:

return $this->extractedMethod($input);

this can obviously only work if the number of output parameters is 0, otherwise the extracted slice is not valid.

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