Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored ContentType::isContainer property to method changed #1472

Merged

Conversation

@@ -4045,6 +4040,11 @@ parameters:
count: 1
path: src/lib/Form/Data/FormMapper/ContentTypeDraftMapper.php

-
Copy link
Contributor

Choose a reason for hiding this comment

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

Remember to regenerate baseline after merging related PRs - this method should be accessible.

@@ -121,7 +121,7 @@ private function createContentType(FieldDefinitionCollectionInterface $fieldDefi

private function createContentTypeDraft(ContentType $contentType): ContentTypeDraft
{
return new ContentTypeDraft(['innerContentType' => $contentType]);
return new ContentTypeDraft(['innerContentType' => $contentType, 'isContainer' => false]);
Copy link
Contributor

Choose a reason for hiding this comment

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

Again - should we mark isContainer as false by default?

Copy link

sonarqubecloud bot commented Mar 1, 2025

@adamwojs adamwojs merged commit 106ac89 into main Mar 1, 2025
22 of 24 checks passed
@adamwojs adamwojs deleted the refactoring-ContentType-isContainer-property-to-method branch March 1, 2025 19:40
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.

6 participants