Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stubs duplicate @param generation with variable-length argument #2239

Closed
Jeckerson opened this issue May 2, 2021 · 0 comments · Fixed by #2242
Closed

Stubs duplicate @param generation with variable-length argument #2239

Jeckerson opened this issue May 2, 2021 · 0 comments · Fixed by #2242
Assignees
Milestone

Comments

@Jeckerson
Copy link
Member

Jeckerson commented May 2, 2021

Code example:

/**
 * @param string ...$column
 * @return Select
 */
public function columns(): Select
{
    let this->data = array_merge(this->data, func_get_args());

    return this;
}

Produce current PHP code:

/**
 * @param string ...$column
 *
 * @return Select
 * @param string  ...$column
 *
 */
public function columns(): Select
{
}
@Jeckerson Jeckerson added this to the 0.13.x milestone May 2, 2021
@Jeckerson Jeckerson self-assigned this May 2, 2021
@Jeckerson Jeckerson modified the milestones: 0.13.x, 0.13.5 May 9, 2021
Jeckerson added a commit that referenced this issue May 9, 2021
@Jeckerson Jeckerson linked a pull request May 9, 2021 that will close this issue
3 tasks
Jeckerson added a commit that referenced this issue May 9, 2021
Jeckerson added a commit that referenced this issue May 9, 2021
Jeckerson added a commit that referenced this issue May 9, 2021
Jeckerson added a commit that referenced this issue May 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant