diff --git a/src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/MethodCallReturnTypeFetcher.php b/src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/MethodCallReturnTypeFetcher.php index 2da1db04209..d0be7c16d60 100644 --- a/src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/MethodCallReturnTypeFetcher.php +++ b/src/Psalm/Internal/Analyzer/Statements/Expression/Call/Method/MethodCallReturnTypeFetcher.php @@ -108,7 +108,7 @@ public static function fetch( if ($premixin_method_id->fq_class_name === PDOException::class) { return Type::getString(); } else { - return Type::getInt(true); // TODO: Remove the flag in Psalm 5 + return Type::getInt(); } }