Documentation pages for classes say "extends" instead of "implements" and vice versa
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3537464. -->
Reported by: [avpaderno](https://www.drupal.org/user/55077)
Related to !72
>>>
<p>For example, on the documentation page for <a href="https://api.drupal.org/api/drupal/core%21modules%21sqlite%21src%21Driver%21Database%21sqlite%21Delete.php/class/Delete/11.x"><code>Delete</code></a>, I read:</p>
<blockquote><p>class \Drupal\Core\Database\Query\<a href="https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Database%21Query%21Query.php/class/Query/11.x">Query</a> extends <a href="https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Database%21Query%21PlaceholderInterface.php/interface/PlaceholderInterface/11.x">\Drupal\Core\Database\Query\PlaceholderInterface</a></p></blockquote>
<blockquote><p>class \Drupal\sqlite\Driver\Database\sqlite\<a href="https://api.drupal.org/api/drupal/core%21modules%21sqlite%21src%21Driver%21Database%21sqlite%21Delete.php/class/Delete/11.x">Delete</a> implements <a href="https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Database%21Query%21Delete.php/class/Delete/11.x">\Drupal\Core\Database\Query\Delete</a></p></blockquote>
<p><img src="https://www.drupal.org/files/issues/2025-07-22/73d215b528192978053d56f1c43d4f0492b7db29.png" alt="screenshot"></p>
<p>That is not correct: A class extends another class and implements an interface. The correct text should be the following one.</p>
<blockquote><p>class \Drupal\Core\Database\Query\<a href="https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Database%21Query%21Query.php/class/Query/11.x">Query</a> implements <a href="https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Database%21Query%21PlaceholderInterface.php/interface/PlaceholderInterface/11.x">\Drupal\Core\Database\Query\PlaceholderInterface</a></p></blockquote>
<blockquote><p>class \Drupal\sqlite\Driver\Database\sqlite\<a href="https://api.drupal.org/api/drupal/core%21modules%21sqlite%21src%21Driver%21Database%21sqlite%21Delete.php/class/Delete/11.x">Delete</a> extends <a href="https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Database%21Query%21Delete.php/class/Delete/11.x">\Drupal\Core\Database\Query\Delete</a></p></blockquote>
issue