Skip to content
Snippets Groups Projects
Commit c0157883 authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Georg Ringer
Browse files

[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: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarBenjamin Kott <benjamin.kott@outlook.com>
Reviewed-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarBenjamin Kott <benjamin.kott@outlook.com>
Tested-by: default avatarGeorg Ringer <georg.ringer@gmail.com>
parent 913c310c
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