Skip to content

Conversation

@barw4
Copy link
Contributor

@barw4 barw4 commented Jul 16, 2025

🎫 Issue IBX-9727

Description:

For QA:

Documentation:

@sonarqubecloud
Copy link

foreach ($valueDefinitions as $identifier => $valueDefinition) {
$this->valueDefinitions[$identifier] = $valueDefinition;
}
$this->groupedDefinitions[CustomGroup::CUSTOM_GROUP_IDENTIFIER] = $valueDefinitions;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about this one, $fieldDefinitions is an array of ValueDefinitionInterface, but groupedDefinitions requires array of ValueDefinitionGroupInterface, maybe someone has an idea why do we need it here

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like it's not needed, groups are properly resolved via compiler pass

@barw4 barw4 requested a review from a team July 16, 2025 07:22
@ezrobot ezrobot requested review from Steveb-p, ViniTou, adamwojs, alongosz, ciastektk, konradoboza, mikadamczyk, tbialcz and wiewiurdp and removed request for a team July 16, 2025 07:22
@barw4
Copy link
Contributor Author

barw4 commented Jul 16, 2025

Regression run: ibexa/commerce#1404

@adamwojs adamwojs merged commit 97745a5 into main Jul 17, 2025
23 checks passed
@adamwojs adamwojs deleted the ibx-9727-strict-types branch July 17, 2025 12:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants