Skip to content

Commit

Permalink
Fix "No error to ignore is reported".
Browse files Browse the repository at this point in the history
  • Loading branch information
remcotolsma committed May 6, 2024
1 parent 8b87c5d commit 0bc3d2d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,6 @@ public function wp_cli_customers_synchronize() {
);

if ( $query->have_posts() ) {
// @phpstan-ignore-next-line
while ( $query->have_posts() ) {
$query->the_post();

Expand Down Expand Up @@ -213,7 +212,6 @@ public function wp_cli_customers_synchronize() {
}
}

// @phpstan-ignore-next-line
\wp_reset_postdata();
}
}
Expand Down

0 comments on commit 0bc3d2d

Please sign in to comment.