Skip to content

Conversation

mikadamczyk
Copy link
Contributor

🎫 Issue N/A

Description:

PHPStan complains because $contentTypeData is declared as a non-nullable property of FieldDefinitionData.
That means it will always exist, so isset() is redundant. $contentTypeDraft is also declared as non-nullable in ContentTypeData.
Using ?? null suggests it might be null, which conflicts with the type declaration.

For QA:

Documentation:

@mikadamczyk mikadamczyk requested review from tbialcz and a team September 19, 2025 07:53
@mikadamczyk mikadamczyk self-assigned this Sep 19, 2025
@ezrobot ezrobot requested review from adamwojs, Steveb-p, alongosz, ciastektk, ViniTou, barw4, wiewiurdp and konradoboza and removed request for a team September 19, 2025 07:53
Copy link

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