#90801PHP errors when creating a new IRRE element on a new parent record
Description
When using a foreign_type combination on a new record with a new IRRE record this message pops up:
Argument 2 passed to TYPO3\CMS\Backend\Form\FormDataProvider\DatabaseRecordTypeValue::getDatabaseRow() must be of the type int, string given, called in typo3/sysext/backend/Classes/Form/FormDataProvider/DatabaseRecordTypeValue.php on line 106