User tests: Successful: Unsuccessful:
Pull Request resolves #.
Fixed type inconsistencies in the getCategoryRoute() method of the Content component's RouteHelper class:
$language parameter type from integer to string|null in the docblock to match the actual parameter usage and default value$language parameter from 0 (integer) to null for consistency with type hintsThese changes align the getCategoryRoute() method signature with the similar getArticleRoute() method and improve code consistency.
getCategoryRoute() continue to work as expectedThe getCategoryRoute() method had type inconsistencies:
$language as integer but default was 0$language as a string (compared to '*')The getCategoryRoute() method now has consistent type hints:
$language as string|nullnullgetArticleRoute() method patternPlease select:
Documentation link for guide.joomla.org: Not applicable
No documentation changes for guide.joomla.org needed
Pull Request link for manual.joomla.org: Not applicable
No documentation changes for manual.joomla.org needed
| Status | New | ⇒ | Pending |
| Category | ⇒ | Front End com_content |
Thank you @jayakrishna200 for your contribution. As this PR does not fix an issue, it is classified as a feature. Could you please rebase it to the
6.1-devbranch? Please also see the Contributing guidelines.
Hi @muhme , I’m happy to be a part of the Joomla contributor community and add even a little value. I’ve rebased the PR now, please check and let me know if there’s anything else I should do.
Thank you @jayakrishna200 for your contribution. As this PR does not fix an issue, it is classified as a feature. Could you please rebase it to the
6.1-devbranch? Please also see the Contributing guidelines.Hi @muhme , I’m happy to be a part of the Joomla contributor community and add even a little value. I’ve rebased the PR now, please check and let me know if there’s anything else I should do.
@jayakrishna200 GitHub still shows 5.4-dev as base branch. You can change it on GitHub with the edit button with which you also can change the title. It allows to change the base branch with a dropdown.
But maybe better wait with that until the 6.x release managers have made an upmerge, or redo it with a new PR. Currently when the PR is rebased on GitHub it will show unrelated changes until that upmerge is done.
Thank you @jayakrishna200 for your contribution. As this PR does not fix an issue, it is classified as a feature. Could you please rebase it to the
6.1-devbranch? Please also see the Contributing guidelines.Hi @muhme , I’m happy to be a part of the Joomla contributor community and add even a little value. I’ve rebased the PR now, please check and let me know if there’s anything else I should do.
@jayakrishna200 GitHub still shows 5.4-dev as base branch. You can change it on GitHub with the edit button with which you also can change the title. It allows to change the base branch with a dropdown.
But maybe better wait with that until the 6.x release managers have made an upmerge, or redo it with a new PR. Currently when the PR is rebased on GitHub it will show unrelated changes until that upmerge is done.
Hi @richard67 I was did that as I got comment from my new pr, please let me know, anything I need to do.
@jayakrishna200 Does your new PR #47241 replace this one here? If so, then please close this one here.
| Status | Pending | ⇒ | Closed |
| Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2026-02-27 10:57:38 |
| Closed_By | ⇒ | richard67 | |
| Labels |
Added:
Feature
PR-5.4-dev
|
||
Closing in favour of #47241 .
@jayakrishna200 Please when you create a new PR which shall replace a previous PR created by you, then close that previous PR to avoid unnecessary work for maintainers. Thanks in advance.
Thank you @jayakrishna200 for your contribution. As this PR does not fix an issue, it is classified as a feature. Could you please rebase it to the
6.1-devbranch?Please also see the Contributing guidelines.