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

@ -735,9 +735,9 @@ class Setup_Wizard_Admin_Page extends Wizard_Admin_Page {
$step = wu_request('step');
if ($step === 'your-company') {
if ('your-company' === $step) {
$fields_to_save = $this->get_general_settings();
} elseif ($step === 'payment-gateways') {
} elseif ('payment-gateways' === $step) {
$fields_to_save = $this->get_payment_settings();
} else {
return;