mirror of
https://github.com/danog/psalm.git
synced 2024-11-26 20:34:47 +01:00
Fix typo
This commit is contained in:
parent
9f4c697109
commit
9ccce95fba
@ -263,7 +263,7 @@ class ArgumentAnalyzer
|
|||||||
// For example, if we're operating on a class Foo with params TKey and TValue,
|
// For example, if we're operating on a class Foo with params TKey and TValue,
|
||||||
// and we're calling a method "add(TKey $key, TValue $value)" on an instance
|
// and we're calling a method "add(TKey $key, TValue $value)" on an instance
|
||||||
// of that class where we know that TKey is int and TValue is string, then we
|
// of that class where we know that TKey is int and TValue is string, then we
|
||||||
// want to replace the substitute the expected values so it's as if we were actually
|
// want to substitute the expected parameters so it's as if we were actually
|
||||||
// calling "add(int $key, string $value)"
|
// calling "add(int $key, string $value)"
|
||||||
$readonly_template_result = new TemplateResult($class_generic_params, []);
|
$readonly_template_result = new TemplateResult($class_generic_params, []);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user