Skip to content

fix: correct parameter order in getUserConfigByKey method#6095

Merged
vitormattos merged 1 commit intomainfrom
fix/optional-parameter-before-required
Dec 11, 2025
Merged

fix: correct parameter order in getUserConfigByKey method#6095
vitormattos merged 1 commit intomainfrom
fix/optional-parameter-before-required

Conversation

@vitormattos
Copy link
Copy Markdown
Member

Optional parameter declared before required parameter causes implicit required treatment. Changed method signature to put required parameter $key before optional parameter $user, and updated all call sites.

Optional parameter declared before required parameter causes implicit
required treatment. Changed method signature to put required parameter
$key before optional parameter $user, and updated all call sites.

Signed-off-by: Vitor Mattos <[email protected]>
@vitormattos vitormattos added this to the Next Major (33) milestone Dec 11, 2025
@vitormattos vitormattos self-assigned this Dec 11, 2025
@github-project-automation github-project-automation Bot moved this to 0. Needs triage in Roadmap Dec 11, 2025
@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable32

@vitormattos
Copy link
Copy Markdown
Member Author

/backport to stable31

@vitormattos vitormattos merged commit 6a4f3d2 into main Dec 11, 2025
65 checks passed
@vitormattos vitormattos deleted the fix/optional-parameter-before-required branch December 11, 2025 14:05
@github-project-automation github-project-automation Bot moved this from 0. Needs triage to 4. to release in Roadmap Dec 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant