Skip to content

Commit 6f3fde2

Browse files
committed
Lint fix
1 parent 0fbb3d5 commit 6f3fde2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/WP_CLI/CommandWithTranslation.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ protected function get_installed_languages( $slug = 'default' ) {
284284
* @var array<string, array<string, array<string, mixed>>> $available
285285
*/
286286
$available = wp_get_installed_translations( $this->obj_type );
287-
287+
288288
// For plugins and themes, check if the text domain differs from the slug.
289289
$text_domain = $slug;
290290
if ( 'default' !== $slug ) {
@@ -308,7 +308,7 @@ protected function get_installed_languages( $slug = 'default' ) {
308308
}
309309
}
310310
}
311-
311+
312312
$available = ! empty( $available[ $text_domain ] ) ? array_keys( $available[ $text_domain ] ) : array();
313313
$available[] = 'en_US';
314314

0 commit comments

Comments
 (0)