Everywhere yoda conditions are

This commit is contained in:
David Stone
2025-02-09 00:20:10 -07:00
parent d74f6d1a53
commit be0ab98895
213 changed files with 691 additions and 412 deletions

View File

@ -27,10 +27,15 @@ class Membership_Status extends Enum {
const __default = 'pending'; // phpcs:ignore
const PENDING = 'pending';
const ACTIVE = 'active';
const TRIALING = 'trialing';
const EXPIRED = 'expired';
const ON_HOLD = 'on-hold';
const CANCELLED = 'cancelled';
/**

View File

@ -112,6 +112,7 @@ final class Memberships_Table extends Table {
KEY status (status),
KEY disabled (disabled)";
}
/**
* Fixes the datetime columns to accept null.
*