1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Code style

This commit is contained in:
fluffycondor 2022-03-11 23:02:11 +00:00 committed by GitHub
parent cb5231463c
commit 7240f01154
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -864,7 +864,9 @@ class TypeParser
}
if (is_int($min_bound) && is_int($max_bound) && $min_bound > $max_bound) {
throw new TypeParseTreeException("Min bound can't be greater than max bound, int<" . $min_bound . "," . $max_bound . "> given");
throw new TypeParseTreeException(
"Min bound can't be greater than max bound, int<" . $min_bound . "," . $max_bound . "> given"
);
}
return new TIntRange($min_bound, $max_bound);