Test Setup Failed
Pull Request — master (#3595)
by Olle
05:25
created
Psalm/Internal/Analyzer/Statements/Expression/Call/FunctionCallAnalyzer.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -882,6 +882,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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,
Please login to merge, or discard this patch.