Skip to content

Commit 05b0198

Browse files
committed
Remove unnecessary arguments in formatter
1 parent d5642ec commit 05b0198

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/User_Application_Password_Command.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ static function ( $application_password ) use ( $field, $value ) {
199199
}
200200

201201
if ( ! empty( $assoc_args['format'] ) && 'ids' === $assoc_args['format'] ) {
202-
$formatter = new Formatter( $assoc_args, $fields );
202+
$formatter = new Formatter( $assoc_args );
203203
$formatter->display_items( wp_list_pluck( $application_passwords, 'uuid' ) );
204204
} else {
205205
$formatter = new Formatter( $assoc_args, $fields );

0 commit comments

Comments
 (0)