Fix fails in HEAD
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3471498. -->
Reported by: [larowlan](https://www.drupal.org/user/395439)
Related to !21
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Changes in Drupal core have caused failures in HEAD - looks like a return type change on a test method.<br>
See <a href="https://git.drupalcode.org/project/aggregator/-/jobs/2617052">https://git.drupalcode.org/project/aggregator/-/jobs/2617052</a></p>
<h4 id="summary-steps-reproduce">Steps to reproduce</h4>
<h3 id="summary-proposed-resolution">Proposed resolution</h3>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<h3 id="summary-ui-changes">User interface changes</h3>
<h3 id="summary-api-changes">API changes</h3>
<h3 id="summary-data-model-changes">Data model changes</h3>
issue