Skip to content

Commit b3a5cb9

Browse files
authored
add break to Arrays::synchronize
1 parent 0015218 commit b3a5cb9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Arrays.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ public static function synchronize(
8383
if ($comparator($value, $value1)) {
8484
unset($removed[$key]);
8585
unset($added[$key1]);
86+
87+
break;
8688
}
8789
}
8890
}

0 commit comments

Comments
 (0)