Cleanup Extbase persistance classes
The classes are a mess. Lots of wrong interfaces and type hints, missing checks for having the right object, etc.
[CLEANUP] Extbase persistence classes
The classes contain wrong type hints and miss a lot of
checks whether the correct object is present.
Reviewed-by: Felix Oertel
Tested-by: Felix Oertel
Reviewed-by: Markus Klein
Tested-by: Markus Klein