Skip to content

Commit

Permalink
Fix phpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
mrsdizzie committed Dec 24, 2024
1 parent 730da5d commit f2153c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WP_CLI/CommandWithUpgrade.php
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ protected function update_many( $args, $assoc_args ) {
$items_to_update = array_filter(
$items,
function ( $item ) {
return isset( $item['update'] ) && $item['update'] !== 'none';
return isset( $item['update'] ) && 'none' !== $item['update'];
}
);

Expand Down

0 comments on commit f2153c8

Please sign in to comment.