Skip to content
Snippets Groups Projects
Commit 2ae540d5 authored by Christian Kuhn's avatar Christian Kuhn Committed by Anja Leichsenring
Browse files

[TASK] Variable type hints for makeInstance(self::class)

It seems the DynamicReturnTypePlugin for PhpStorm does
not deal with 'self::class'. Change a couple of
makeInstance() calls to hint for the returned object.

Resolves: #92876
Releases: master
Change-Id: I2cd2ad28dcd4e3baba641bdbc0dbdbc50d6bde9d
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66699


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: default avatarMathias Brodala <mbrodala@pagemachine.de>
Reviewed-by: default avatarOliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarAnja Leichsenring <aleichsenring@ab-softlab.de>
parent 0a5d6e2f
Branches
Tags
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