[BUGFIX] Remove duplicated types of `AbstractFileFolder::$originalResource`
Technically, it's sufficient to annotate $originalResource as type of
ResourceInterface because all other annotated types implement the
interface anyway.
This also bypasses an issue with the rewritten ClassSchema, as it can't
handle multiple annotated types of a property and fails do determine a
class type.
Resolves: #88268
Releases: master, 9.5
Change-Id: I641d3771eef39128df9ba7a51db2ebc2e0dd67a0
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/60649
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Benjamin Kott <benjamin.kott@outlook.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Benjamin Kott <benjamin.kott@outlook.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>