1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 12:55:26 +01:00
This commit is contained in:
Matthew Brown 2020-12-07 01:32:18 -05:00 committed by GitHub
parent d8df622ab4
commit d406d5b112
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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, []);