Review main Merged

75417[FEATURE] Let class schema detect multiple property types

Alexander Schnitzler CR +2 V +2 Expert +1121 −78 updated 07/26/23, 18:07

Commit message

Extbase creates class schema objects for classes to gather
information for further analysis. One part of that information
is property types. In recent TYPO3 and PHP versions, extbase did
expect a property to have zero or one type.

Due to changes to PHP (Union Types/Intersection Types), extbase's
internal behaviour needs to change and detect all declared types.

This is especially useful in models whose properties can now be
declared as

public Entity|LazyLoadingProxy|null $reference = null;

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 21

Show 1 more file