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 | ⇒ | Repository Administration com_admin SQL |
You have created a pull request for Joomla 6.1 but you have submitted it to the Joomla 5.4 branch
I was changed base to 6.1-dev, please let me still I need to do anything else.
| Title |
|
||||||
| Category | Repository Administration com_admin SQL | ⇒ | Front End com_content |
| Labels |
Added:
PR-6.1-dev
|
||
You have created a pull request for Joomla 6.1 but you have submitted it to the Joomla 5.4 branch