Completed
Pull Request — master (#3650)
by Olle
17:51 queued 17:51
created
Psalm/Internal/Analyzer/Statements/Expression/Call/StaticCallAnalyzer.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -588,7 +588,7 @@  discard block
 block discarded – undo
588 588
 
589 589
                         $array_values = array_map(
590 590
                             /**
591
-                             * @return PhpParser\Node\Expr\ArrayItem
591
+                             * @return boolean
592 592
                              */
593 593
                             function (PhpParser\Node\Arg $arg) {
594 594
                                 return new PhpParser\Node\Expr\ArrayItem($arg->value);
@@ -1346,6 +1346,9 @@  discard block
 block discarded – undo
1346 1346
         return true;
1347 1347
     }
1348 1348
 
1349
+    /**
1350
+     * @param \Psalm\Storage\MethodStorage|null $method_storage
1351
+     */
1349 1352
     private static function taintReturnType(
1350 1353
         StatementsAnalyzer $statements_analyzer,
1351 1354
         PhpParser\Node\Expr\StaticCall $stmt,
Please login to merge, or discard this patch.