mirror of
https://github.com/danog/psalm.git
synced 2024-12-03 10:07:52 +01:00
cs-fix
This commit is contained in:
parent
90dea2f947
commit
dc2b7245b2
@ -960,7 +960,11 @@ final class TypeParser
|
||||
}
|
||||
assert(count($parse_tree->children) === 2);
|
||||
|
||||
$get_int_range_bound = static function (ParseTree $parse_tree, Union $generic_param, string $bound_name): ?int {
|
||||
$get_int_range_bound = static function (
|
||||
ParseTree $parse_tree,
|
||||
Union $generic_param,
|
||||
string $bound_name,
|
||||
): ?int {
|
||||
if (!$parse_tree instanceof Value
|
||||
|| count($generic_param->getAtomicTypes()) > 1
|
||||
|| (!$generic_param->getSingleAtomic() instanceof TLiteralInt
|
||||
|
Loading…
Reference in New Issue
Block a user