Fix CI due to phpstan 2.1.52 release
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3587395. -->
Reported by: [tim.plunkett](https://www.drupal.org/user/241634)
Related to !1000
>>>
<h3 id="overview">Overview</h3>
<p><a href="https://github.com/phpstan/phpstan/releases/tag/2.1.52">https://github.com/phpstan/phpstan/releases/tag/2.1.52</a> was released. This caused:</p>
<p><code>Using nullsafe method call on non-nullable type</code><br>
<a href="https://git.drupalcode.org/project/canvas/-/jobs/9565623">https://git.drupalcode.org/project/canvas/-/jobs/9565623</a></p>
<h3 id="proposed-resolution">Proposed resolution</h3>
<h3 id="ui-changes">User interface changes</h3>
> Related issue: [Issue #3584531](https://www.drupal.org/node/3584531)
> Related issue: [Issue #3587543](https://www.drupal.org/node/3587543)
issue