Skip to content

Commit b0bc881

Browse files
author
Kyam Harris
committed
Tidy up indentation
1 parent e712836 commit b0bc881

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Comment_Command.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -424,9 +424,9 @@ function ( $comment_id, $assoc_args ) {
424424
}
425425

426426
private function call( $args, $status, $success, $failure ) {
427-
$comment_id = absint( $args );
427+
$comment_id = absint( $args );
428428

429-
$func = "wp_{$status}_comment";
429+
$func = "wp_{$status}_comment";
430430

431431
if ( ! $func( $comment_id ) ) {
432432
WP_CLI::error( sprintf( $failure, "comment {$comment_id}" ) );
@@ -514,7 +514,7 @@ public function untrash( $args, $assoc_args ) {
514514
public function spam( $args ) {
515515
foreach ( $args as $id ) {
516516
$this->call( $id, __FUNCTION__, 'Marked %s as spam.', 'Failed marking %s as spam.' );
517-
}
517+
}
518518
}
519519

520520
/**

0 commit comments

Comments
 (0)