Skip to content

Commit

Permalink
Remove unnecessary arguments in formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
ernilambar committed Feb 27, 2024
1 parent d5642ec commit 05b0198
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/User_Application_Password_Command.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ static function ( $application_password ) use ( $field, $value ) {
}

if ( ! empty( $assoc_args['format'] ) && 'ids' === $assoc_args['format'] ) {
$formatter = new Formatter( $assoc_args, $fields );
$formatter = new Formatter( $assoc_args );
$formatter->display_items( wp_list_pluck( $application_passwords, 'uuid' ) );
} else {
$formatter = new Formatter( $assoc_args, $fields );
Expand Down

0 comments on commit 05b0198

Please sign in to comment.