Skip to content
Snippets Groups Projects
user avatar
Sascha Egerer authored
The Enumeration implementation has a cast() method that
does always return an instance of the enumeration
implementation itself. As the Enumeration is an abstract
type the cast() method return doc should be `self` instead
of `Enumeration`.
That does fix problems with code completion in IDEs as the
IDE does now know what exact implementation is returned.

Resolves: #77743
Releases: master, 7.6
Change-Id: Ib0f62f79e0856fe62849472a0a9c3657a048e028
Reviewed-on: https://review.typo3.org/49711


Tested-by: default avatarBamboo TYPO3com <info@typo3.com>
Reviewed-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Reviewed-by: default avatarFrans Saris <franssaris@gmail.com>
Tested-by: default avatarFrans Saris <franssaris@gmail.com>
d4ef7b57
Name Last commit Last update