Skip to content

Commit 21b607a

Browse files
committed
Revert 44f9440
1 parent 7f5ec93 commit 21b607a

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Psalm/Internal/Codebase/Methods.php

-7
Original file line numberDiff line numberDiff line change
@@ -453,13 +453,6 @@ public function getMethodParams(
453453
foreach ($params as $i => $param) {
454454
if (isset($overridden_storage->params[$i]->type)
455455
&& $overridden_storage->params[$i]->has_docblock_type
456-
&& (
457-
! $param->type
458-
|| $param->type->equals(
459-
$overridden_storage->params[$i]->signature_type
460-
?? $overridden_storage->params[$i]->type,
461-
)
462-
)
463456
) {
464457
$params[$i] = clone $param;
465458
/** @var Union $params[$i]->type */

0 commit comments

Comments
 (0)