Skip to content

Commit 440b3f2

Browse files
DanielEScherzerondrejmirtes
authored andcommitted
Extractor: Skip Since and Until attributes
1 parent 8396327 commit 440b3f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

extractor/extract.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -578,6 +578,9 @@ private function compareFunctions(Node\FunctionLike $old, Node\FunctionLike $new
578578
if ($oldArg->name->name !== $newArg->name->name) {
579579
return $this->stmtDiff($old, $new, $updateTo);
580580
}
581+
if ($oldArg->name->name === 'Since' || $oldArg->name->name === 'Until') {
582+
continue;
583+
}
581584
} elseif ($oldArg->name !== null || $newArg->name !== null) {
582585
return $this->stmtDiff($old, $new, $updateTo);
583586
}

0 commit comments

Comments
 (0)