[BUGFIX] Remove duplicated types of `AbstractFileFolder::$originalResource` 49/60649/2
authorAndreas Fernandez <a.fernandez@scripting-base.de>
Fri, 3 May 2019 14:56:06 +0000 (16:56 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Fri, 3 May 2019 20:34:26 +0000 (22:34 +0200)
commitc0157883699d75f46ca5b1dd7459a089830f7738
tree66c33e2978ae1715d978b690460f2b380be47345
parent913c310cbc0f5932e16ca7c3073070d653f389c9
[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>
typo3/sysext/extbase/Classes/Domain/Model/AbstractFileFolder.php