Fix premature return in RuleBase::decodeValueArray()
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3574795. -->
Reported by: [chewi3](https://www.drupal.org/user/2778317)
Related to !1235
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>There is a problem in the decodeValueArray method in Drupal\ai_automators\PluginBaseClasses\RuleBase. The second foreach loop returns the values array inside the loop, instead of afterwards.</p>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<p>The values array should be returned after going through the foreach loop, so that all values are accounted for.</p>
issue