Skip to content

Commit 300a09a

Browse files
Merge pull request #102 from oliverklee/task/improve-makeinstance-stub
[TASK] Improve the `GeneralUtility::makeInstance` stub
2 parents b63041b + dc5c588 commit 300a09a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/GeneralUtility.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace TYPO3\CMS\Core\Utility;
44
class GeneralUtility
55
{
66
/**
7-
* @template T
7+
* @template T of object
88
* @phpstan-param class-string<T> $className
99
* @phpstan-param array<int, mixed> $constructorArguments
1010
* @phpstan-return T

0 commit comments

Comments
 (0)