Skip to content

Commit 2d70f93

Browse files
authored
Apply suggestions from code review
Co-authored-by: Pascal Birchler <pascal.birchler@gmail.com>
1 parent 01b24ef commit 2d70f93

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Theme_Mod_Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use \WP_CLI\Utils;
3+
use WP_CLI\Utils;
44

55
/**
66
* Sets, gets, and removes theme mods.
@@ -140,7 +140,7 @@ static function ( $item ) use ( $separator ) {
140140
$mod_list
141141
),
142142
function ( $item ) {
143-
return $item['value'] !== '' && $item['value'] !== null;
143+
return '' !== $item['value'] && null !== $item['value'];
144144
}
145145
);
146146
break;

0 commit comments

Comments
 (0)