-
Christian Kuhn authored
Annotations are sometimes: /** @var $foo MyType */ But should be: /** @var MyType $foo */ The patch fixes this in all tests: getMock() and createMock() need no annotation at all (both phpstan and phpstorm understand this), getAccessibleMock() currently needs an annotation and then sometimes mumbles about obsolete arguments for _call(), which can be adapted with another patch. Resolves: #96692 Releases: main, 11.5 Change-Id: I07032e60805a1dc80dc048ae6996d8bb53b0c2e9 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/73223 Tested-by: core-ci <typo3@b13.com> Tested-by: Stefan Bürk <stefan@buerk.tech> Tested-by: Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by: Stefan Bürk <stefan@buerk.tech> Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
abbee995