Fix strict typing error
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3124056. --> Reported by: [claudiu.cristea](https://www.drupal.org/user/56348) >>> <p>The line</p> <div class="codeblock"> <pre><span style="color: #000000"><span style="color: #0000BB">&lt;?php<br>$response</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">setContent</span><span style="color: #007700">(</span><span style="color: #0000BB">html_entity_decode</span><span style="color: #007700">(</span><span style="color: #0000BB">strip_tags</span><span style="color: #007700">(new </span><span style="color: #0000BB">FormattableMarkup</span><span style="color: #007700">())));<br></span><span style="color: #0000BB">?&gt;</span></span></pre></div> <p>produces an error as strict typing is enforced and <code>strip_tags()</code> expects strictly a string.</p>
issue