TYPO3 / Fluid

Fluid template rendering engine - Standalone version
GNU Lesser General Public License v3.0
153 stars 93 forks source link

[TASK] Allow registerArgument() to override arguments #917

Closed s2b closed 1 month ago

s2b commented 1 month ago

Previously, overrideArgument() needed to be used to override an existing ViewHelper argument. With this change, registerArgument() no longer throws an exception if an argument with the same name already exists. This simplifies the ViewHelper API.

Since it is no longer necessary with this change, overrideArgument() is now deprecated.