diff --git a/core/lib/Drupal/Core/Database/Query/SelectInterface.php b/core/lib/Drupal/Core/Database/Query/SelectInterface.php
index e42fcc64c20baad396f31e13295dd72a472be591..e740b7496c530d8df4c2d9f38072dbad103740b0 100644
--- a/core/lib/Drupal/Core/Database/Query/SelectInterface.php
+++ b/core/lib/Drupal/Core/Database/Query/SelectInterface.php
@@ -404,10 +404,10 @@ public function addJoin($type, $table, $alias = NULL, $condition = NULL, $argume
    *   on.
    *
    *   Example:
-   *   <code>
+   *   @code
    *   $query->addExpression('SUBSTRING(thread, 1, (LENGTH(thread) - 1))', 'order_field');
    *   $query->orderBy('order_field', 'ASC');
-   *   </code>
+   *   @endcode
    * @param $direction
    *   The direction to sort. Legal values are "ASC" and "DESC". Any other value
    *   will be converted to "ASC".