File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -565,15 +565,15 @@ private function compareFunctions(Node\FunctionLike $old, Node\FunctionLike $new
565
565
foreach ($ newAttribGroups as $ group ) {
566
566
foreach ($ group ->attrs as $ attrib ) {
567
567
if ($ attrib ->name ->toLowerString () !== 'since ' && $ attrib ->name ->toLowerString () !== 'until ' ) {
568
- $ oldAttribs [] = $ attrib ;
568
+ $ newAttribs [] = $ attrib ;
569
569
}
570
570
}
571
571
}
572
572
if (count ($ oldAttribs ) !== count ($ newAttribs )) {
573
573
return $ this ->stmtDiff ($ old , $ new , $ updateTo );
574
574
}
575
575
foreach ($ oldAttribs as $ idx => $ oldAttrib ) {
576
- $ newAttrib = $ newAttribs [$ attribIdx ];
576
+ $ newAttrib = $ newAttribs [$ idx ];
577
577
if ($ oldAttrib ->name ->name !== $ newAttrib ->name ->name ) {
578
578
return $ this ->stmtDiff ($ old , $ new , $ updateTo );
579
579
}
You can’t perform that action at this time.
0 commit comments