Skip to content

Commit

Permalink
cs-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Oct 21, 2023
1 parent 90dea2f commit dc2b724
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/Psalm/Internal/Type/TypeParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -960,7 +960,11 @@ private static function getTypeFromGenericTree(
}
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
Expand Down

0 comments on commit dc2b724

Please sign in to comment.