Add spacing after ! for code consistency

This commit is contained in:
David Allsop 2024-09-12 09:44:19 +01:00
parent b579d1573f
commit ced358becb
1 changed files with 1 additions and 1 deletions

View File

@ -506,7 +506,7 @@ class WC_REST_Taxes_V1_Controller extends WC_REST_Controller {
$deleted = WC_Tax::_delete_tax_rate( $id );
if ( !$deleted ) {
if ( ! $deleted ) {
return new WP_Error( 'woocommerce_rest_cannot_delete', __( 'The resource cannot be deleted.', 'woocommerce' ), array( 'status' => 500 ) );
}