Skip to content

Commit a70de9c

Browse files
Merge pull request #117 from oliverklee/bugfix/makeinstance-stub
[BUGFIX] Fix type annotation in the `GeneralUtility` stub
2 parents 822afd2 + 76c3c61 commit a70de9c

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
@@ -6,7 +6,7 @@ class GeneralUtility
66
/**
77
* @template T of object
88
* @phpstan-param class-string<T> $className
9-
* @phpstan-param array<int, mixed> $constructorArguments
9+
* @phpstan-param mixed $constructorArguments
1010
* @phpstan-return T
1111
*/
1212
public static function makeInstance($className, ...$constructorArguments);

0 commit comments

Comments
 (0)