Everywhere yoda conditions are
This commit is contained in:
@ -27,7 +27,9 @@ class Product_Type extends Enum {
|
||||
const __default = 'plan'; // phpcs:ignore
|
||||
|
||||
const PLAN = 'plan';
|
||||
|
||||
const PACKAGE = 'package';
|
||||
|
||||
const SERVICE = 'service';
|
||||
|
||||
/**
|
||||
|
@ -154,6 +154,7 @@ final class Products_Table extends Table {
|
||||
// Return success/fail
|
||||
return $this->is_success($result);
|
||||
}
|
||||
|
||||
/**
|
||||
* Fixes the datetime columns to accept null.
|
||||
*
|
||||
|
Reference in New Issue
Block a user