@@ -28,6 +28,7 @@ |
||
28 | 28 | * @param array<string, array<string, array{Type\Union}>> $template_type_map |
29 | 29 | * @param string[] $suppressed_issues |
30 | 30 | * @param 0|1|2 $failed_reconciliation |
31 | + * @param null|CodeLocation $code_location |
|
31 | 32 | * |
32 | 33 | * @return Type\Union |
33 | 34 | */ |
@@ -710,6 +710,7 @@ |
||
710 | 710 | * @param array<int, array{0: string, 1: int}> $type_tokens |
711 | 711 | * @param array{0: string, 1: int} $current_token |
712 | 712 | * @param int &$i |
713 | + * @param integer $i |
|
713 | 714 | * |
714 | 715 | * @return void |
715 | 716 | */ |
@@ -48,6 +48,7 @@ discard block |
||
48 | 48 | /** |
49 | 49 | * @param string[] $suppressed_issues |
50 | 50 | * @param 0|1|2 $failed_reconciliation |
51 | + * @param CodeLocation $code_location |
|
51 | 52 | */ |
52 | 53 | public static function reconcile( |
53 | 54 | string $assertion, |
@@ -361,6 +362,7 @@ discard block |
||
361 | 362 | /** |
362 | 363 | * @param string[] $suppressed_issues |
363 | 364 | * @param 0|1|2 $failed_reconciliation |
365 | + * @param null|integer $min_count |
|
364 | 366 | */ |
365 | 367 | private static function reconcileNonEmptyCountable( |
366 | 368 | Union $existing_var_type, |
@@ -1220,8 +1222,6 @@ discard block |
||
1220 | 1222 | } |
1221 | 1223 | |
1222 | 1224 | /** |
1223 | - * @param string[] $suppressed_issues |
|
1224 | - * @param 0|1|2 $failed_reconciliation |
|
1225 | 1225 | */ |
1226 | 1226 | private static function reconcileInArray( |
1227 | 1227 | Codebase $codebase, |
@@ -192,8 +192,6 @@ discard block |
||
192 | 192 | } |
193 | 193 | |
194 | 194 | /** |
195 | - * @param string[] $suppressed_issues |
|
196 | - * @param 0|1|2 $failed_reconciliation |
|
197 | 195 | */ |
198 | 196 | private static function reconcileCallable( |
199 | 197 | Type\Union $existing_var_type |
@@ -282,6 +280,7 @@ discard block |
||
282 | 280 | /** |
283 | 281 | * @param string[] $suppressed_issues |
284 | 282 | * @param 0|1|2 $failed_reconciliation |
283 | + * @param null|integer $min_count |
|
285 | 284 | */ |
286 | 285 | private static function reconcileNonEmptyCountable( |
287 | 286 | Type\Union $existing_var_type, |
@@ -2,7 +2,6 @@ |
||
2 | 2 | namespace Psalm\Internal\TypeVisitor; |
3 | 3 | |
4 | 4 | use Psalm\CodeLocation; |
5 | -use Psalm\Internal\Analyzer\Statements\ExpressionAnalyzer; |
|
6 | 5 | use Psalm\Internal\Analyzer\ClassLikeAnalyzer; |
7 | 6 | use Psalm\Internal\Analyzer\TypeAnalyzer; |
8 | 7 | use Psalm\Storage\MethodStorage; |
@@ -20,6 +20,7 @@ |
||
20 | 20 | |
21 | 21 | /** |
22 | 22 | * @param array<string, mixed> $phantom_classes |
23 | + * @param null|FileStorage $file_storage |
|
23 | 24 | * |
24 | 25 | * @return void |
25 | 26 | */ |
@@ -22,7 +22,6 @@ |
||
22 | 22 | use Psalm\Report\GithubActionsReport; |
23 | 23 | use Psalm\Report\JsonReport; |
24 | 24 | use Psalm\Report\JsonSummaryReport; |
25 | -use Psalm\Report\JunitReport; |
|
26 | 25 | use Psalm\Report\PylintReport; |
27 | 26 | use Psalm\Report\SonarqubeReport; |
28 | 27 | use Psalm\Report\TextReport; |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * @param array<PhpParser\Node\Arg> $call_args |
19 | 19 | * |
20 | - * @return ?Type\Union |
|
20 | + * @return Type\Union|null |
|
21 | 21 | */ |
22 | 22 | public static function getFunctionReturnType( |
23 | 23 | StatementsSource $statements_source, |
@@ -14,7 +14,6 @@ |
||
14 | 14 | public static function getClassLikeNames() : array; |
15 | 15 | |
16 | 16 | /** |
17 | - * @param array<PhpParser\Node\Arg> $call_args |
|
18 | 17 | * |
19 | 18 | * @return ?Type\Union |
20 | 19 | */ |