1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-26 12:24:49 +01:00
This commit is contained in:
Matthew Brown 2020-12-07 01:32:18 -05:00 committed by Daniil Gentili
parent 9f4c697109
commit 9ccce95fba
Signed by: danog
GPG Key ID: 8C1BE3B34B230CA7

View File

@ -263,7 +263,7 @@ class ArgumentAnalyzer
// 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
// 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)"
$readonly_template_result = new TemplateResult($class_generic_params, []);