@@ -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 | */ |
@@ -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, |
@@ -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 | */ |
@@ -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 | */ |
@@ -63,9 +63,6 @@ |
||
63 | 63 | /** |
64 | 64 | * @param array<int, IssueData> $issues_data |
65 | 65 | * @param array<string, int> $fixable_issue_counts |
66 | - * @param bool $use_color |
|
67 | - * @param bool $show_snippet |
|
68 | - * @param bool $show_info |
|
69 | 66 | */ |
70 | 67 | public function __construct( |
71 | 68 | array $issues_data, |
@@ -471,6 +471,7 @@ |
||
471 | 471 | * @param list<Clause> $clauses |
472 | 472 | * @param array<string, bool> $cond_referenced_var_ids |
473 | 473 | * @param array<string, array<int, array<int, string>>> $active_truths |
474 | + * @param integer $creating_object_id |
|
474 | 475 | * |
475 | 476 | * @return array<string, array<int, array<int, string>>> |
476 | 477 | */ |
@@ -453,7 +453,7 @@ |
||
453 | 453 | $this->extra_types |
454 | 454 | && array_filter( |
455 | 455 | $this->extra_types, |
456 | - /** @param Atomic $a */ |
|
456 | + /** @param Codebase $a */ |
|
457 | 457 | function (Atomic $a) use ($codebase) : bool { |
458 | 458 | return $a->hasArrayAccessInterface($codebase); |
459 | 459 | } |
@@ -19,6 +19,8 @@ |
||
19 | 19 | |
20 | 20 | /** |
21 | 21 | * @param array<string, string> $aliased_classes |
22 | + * @param string|null $namespace |
|
23 | + * @param string|null $this_class |
|
22 | 24 | */ |
23 | 25 | private function getNamespacedIntersectionTypes( |
24 | 26 | ?string $namespace, |