Skip to content

Commit

Permalink
[FIX] UI: php 7.4 compatibility of 'properly count inputs of Field\Ha…
Browse files Browse the repository at this point in the history
…sDynamicInputs templates. (ILIAS-eLearning#8422)'
  • Loading branch information
thibsy committed Nov 26, 2024
1 parent 9285eeb commit 0330114
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/UI/Implementation/Component/Input/Field/Renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -930,8 +930,9 @@ protected function initClientsideRenderer(

/**
* Counts all inputs and nested inputs of groups, without counting groups themselves.
* @param FormInput|Input $input
*/
protected function countInputsWithoutGroupsRecursively(FormInput|Input $input): int
protected function countInputsWithoutGroupsRecursively($input): int
{
if (!($input instanceof Component\Input\Group)) {
return 1;
Expand Down

0 comments on commit 0330114

Please sign in to comment.