From 94d6a91af7fffc0dab7b4fea098363e703b4c0c4 Mon Sep 17 00:00:00 2001 From: gchi25 Date: Wed, 8 Jan 2025 19:55:32 -0500 Subject: [PATCH] PXBF-2039-phpstan-fixes: fix greater always true --- .../usagov_benefit_finder_content.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usagov_benefit_finder/modules/usagov_benefit_finder_content/usagov_benefit_finder_content.module b/usagov_benefit_finder/modules/usagov_benefit_finder_content/usagov_benefit_finder_content.module index f61e9cb0..557a9013 100644 --- a/usagov_benefit_finder/modules/usagov_benefit_finder_content/usagov_benefit_finder_content.module +++ b/usagov_benefit_finder/modules/usagov_benefit_finder_content/usagov_benefit_finder_content.module @@ -28,7 +28,7 @@ function usagov_benefit_finder_content_form_alter(&$form, &$form_state, $form_id $form['field_b_eligibility']['widget'][$i]['subform']['field_b_criteria_key']['widget']['#options']; } $i++; - } while ($i > 0); + } while (TRUE); } }