Skip to content

Commit 75db5a5

Browse files
values
1 parent 5a88902 commit 75db5a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extractor/extract.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -591,8 +591,8 @@ private function compareFunctions(Node\FunctionLike $old, Node\FunctionLike $new
591591
} elseif ($oldArg->name !== null || $newArg->name !== null) {
592592
return $this->stmtDiff($old, $new, $updateTo);
593593
}
594-
$oldArgValue = $this->printer->prettyPrintExpr($oldArg->expr);
595-
$newArgValue = $this->printer->prettyPrintExpr($newArg->expr);
594+
$oldArgValue = $this->printer->prettyPrintExpr($oldArg->value);
595+
$newArgValue = $this->printer->prettyPrintExpr($newArg->value);
596596
if ($oldArgValue !== $newArgValue) {
597597
return $this->stmtDiff($old, $new, $updateTo);
598598
}

0 commit comments

Comments
 (0)