Skip to content

Commit 3ce82ca

Browse files
authored
chore: align active cleanup pagination assignments (#581)
1 parent 14e728f commit 3ce82ca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

inc/Workspace/Workspace.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2028,8 +2028,8 @@ private function build_active_no_signal_apply_pagination( array $pagination, str
20282028
$limit = (int) ( $pagination['limit'] ?? 25 );
20292029
$next_offset = (int) $pagination['next_offset'];
20302030
if ( ! $dry_run && $written_count > 0 ) {
2031-
$current = (int) ( $pagination['offset'] ?? 0 );
2032-
$next_offset = max( $current, $next_offset - $written_count );
2031+
$current = (int) ( $pagination['offset'] ?? 0 );
2032+
$next_offset = max( $current, $next_offset - $written_count );
20332033
$pagination['next_offset'] = $next_offset;
20342034
}
20352035

0 commit comments

Comments
 (0)