diff --git a/wp-cli/civicrm.php b/wp-cli/civicrm.php index a3c35c5..ee3691f 100644 --- a/wp-cli/civicrm.php +++ b/wp-cli/civicrm.php @@ -1144,7 +1144,7 @@ private static function parseDSN( $dsn ) { $parsed['dbsyntax'] = $str; } - if ( ! count( $dsn ) ) { + if ( empty( $dsn ) ) { return $parsed; }