Skip to content
Snippets Groups Projects
Commit 9cc26a6b authored by Benni Mack's avatar Benni Mack Committed by Georg Ringer
Browse files

[TASK] Add native types to RelationHandler where possible

This change adds native PHP types to RelationHandler.

The reasoning for the changes:
- Even though some properties are public and not typed,
  setting an array property to null will fatal if Relation
  Handler already expects an array access
- Some methods do not get full types, as some options
  can be string/int etc, whereas $tableName must be a
  string in any case, where a type is applied.

This is a pre-patch as part of a bigger change in order
to bring TcaSchema API and Record API into RelationHandler.

Resolves: #104334
Releases: main
Change-Id: I66c6ae10858d6a2bb37ee03792e191b755bd1968
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85105


Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 93545648
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment