Skip to content

Commit 73a5a52

Browse files
author
Erika Gili
committed
Fix phpcs issue
1 parent 1fcdbf7 commit 73a5a52

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
@@ -249,8 +249,8 @@ protected function download_language_pack( $download, $slug = null ) {
249249
* @return array
250250
*/
251251
protected function get_installed_languages( $slug = 'default' ) {
252-
$available = wp_get_installed_translations( $this->obj_type );
253-
$available = ! empty( $available[ $slug ] ) ? array_keys( $available[ $slug ] ) : array();
252+
$available = wp_get_installed_translations( $this->obj_type );
253+
$available = ! empty( $available[ $slug ] ) ? array_keys( $available[ $slug ] ) : array();
254254

255255
return $available;
256256
}

0 commit comments

Comments
 (0)