Revert ignore lines for phpstan
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3537303. -->
Reported by: [marcus_johansson](https://www.drupal.org/user/385947)
Related to !779
>>>
<h3 id="summary-problem-motivation">Problem/Motivation</h3>
<p>Seems like the ignore lines for phpstan is reverted, so we need to revert some code :/</p>
<h3 id="summary-remaining-tasks">Remaining tasks</h3>
<p>Revert three ignore lines added as part of <span class="drupalorg-gitlab-issue-link project-issue-status-info project-issue-status-7"><a href="https://www.drupal.org/project/ai/issues/3537026" title="Status: Closed (fixed)">#3537026: Errors after switch to phpstan 2.0 - 2025-07-20</a></span></p>
issue