Apply coding standards.

This commit is contained in:
Vedanshu Jain 2023-02-14 16:55:48 +05:30
parent c9bf8dd194
commit dfd2c7d44f
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ class WC_Webhook extends WC_Legacy_Webhook {
$order = wc_get_order( absint( $arg ) );
// Ignore standard drafts for orders.
if ( in_array( $order->get_status(), array( 'draft', 'auto-draft', 'new' ) ) ) {
if ( in_array( $order->get_status(), array( 'draft', 'auto-draft', 'new' ), true ) ) {
return false;
}
}