From 7a7a7f6bc985b32babd392d89c8aa97c6866bfc7 Mon Sep 17 00:00:00 2001 From: Daniil Gentili Date: Thu, 28 Jul 2022 12:05:13 +0200 Subject: [PATCH] cs-fix --- src/Psalm/Type.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Psalm/Type.php b/src/Psalm/Type.php index f867231c8..8508caa2c 100644 --- a/src/Psalm/Type.php +++ b/src/Psalm/Type.php @@ -701,7 +701,9 @@ abstract class Type && ($int_intersection->min_bound !== null || $int_intersection->max_bound !== null) ) { $intersection_performed = true; - if ($int_intersection->min_bound !== null && $int_intersection->min_bound === $int_intersection->max_bound) { + if ($int_intersection->min_bound !== null + && $int_intersection->min_bound === $int_intersection->max_bound + ) { return new TLiteralInt($int_intersection->min_bound); } return $int_intersection;