Skip to content

Commit

Permalink
Revert 44f9440
Browse files Browse the repository at this point in the history
  • Loading branch information
danog committed Nov 24, 2024
1 parent 7f5ec93 commit 21b607a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/Psalm/Internal/Codebase/Methods.php
Original file line number Diff line number Diff line change
Expand Up @@ -453,13 +453,6 @@ public function getMethodParams(
foreach ($params as $i => $param) {
if (isset($overridden_storage->params[$i]->type)
&& $overridden_storage->params[$i]->has_docblock_type
&& (
! $param->type
|| $param->type->equals(
$overridden_storage->params[$i]->signature_type
?? $overridden_storage->params[$i]->type,
)
)
) {
$params[$i] = clone $param;
/** @var Union $params[$i]->type */
Expand Down

0 comments on commit 21b607a

Please sign in to comment.