From 0da493b5bb93e7bffec31db3513f2b9c4234ba20 Mon Sep 17 00:00:00 2001 From: kkmuffme <11071985+kkmuffme@users.noreply.github.com> Date: Mon, 10 Oct 2022 16:28:46 +0200 Subject: [PATCH] fix docs to match example --- .../Statements/Expression/Fetch/VariableFetchAnalyzer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/VariableFetchAnalyzer.php b/src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/VariableFetchAnalyzer.php index ae2bac6ac40..86823148326 100644 --- a/src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/VariableFetchAnalyzer.php +++ b/src/Psalm/Internal/Analyzer/Statements/Expression/Fetch/VariableFetchAnalyzer.php @@ -774,7 +774,7 @@ public static function getGlobalType(string $var_id, int $codebase_analysis_php_ // by default $_FILES is an empty array $default_type = new TArray([Type::getNever(), Type::getNever()]); - // ideally we would have 3 separate arrays with distinct types, but that isn't possible with psalm atm + // ideally we would have 4 separate arrays with distinct types, but that isn't possible with psalm atm return TypeCombiner::combine([$default_type, $type, $named_type]); }