mirror of
https://github.com/danog/psalm.git
synced 2024-11-29 20:28:59 +01:00
Update ExistingAtomicStaticCallAnalyzer.php (#4761)
The invalid syntax for PHP 7.1+
This commit is contained in:
parent
74b8198cb4
commit
0882d563fa
@ -248,7 +248,7 @@ class ExistingAtomicStaticCallAnalyzer
|
||||
} elseif ($template_type->param_name === 'TPhpMajorVersion') {
|
||||
$template_result->upper_bounds[$template_type->param_name] = [
|
||||
'fn-' . strtolower((string) $method_id) => new TemplateBound(
|
||||
Type::getInt(false, $codebase->php_major_version),
|
||||
Type::getInt(false, $codebase->php_major_version)
|
||||
)
|
||||
];
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user