@@ -882,6 +882,7 @@ discard block |
||
882 | 882 | |
883 | 883 | /** |
884 | 884 | * @param non-empty-string $function_id |
885 | + * @param \Psalm\Storage\FunctionStorage|null $function_storage |
|
885 | 886 | */ |
886 | 887 | private static function getFunctionCallReturnType( |
887 | 888 | StatementsAnalyzer $statements_analyzer, |
@@ -1074,6 +1075,9 @@ discard block |
||
1074 | 1075 | return $stmt_type; |
1075 | 1076 | } |
1076 | 1077 | |
1078 | + /** |
|
1079 | + * @param \Psalm\Storage\FunctionStorage|null $function_storage |
|
1080 | + */ |
|
1077 | 1081 | private static function checkFunctionCallPurity( |
1078 | 1082 | StatementsAnalyzer $statements_analyzer, |
1079 | 1083 | \Psalm\Codebase $codebase, |