summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlex Pott2018-06-16 08:29:10 (GMT)
committerAlex Pott2018-06-16 08:29:10 (GMT)
commita02e2ea086fa03a5287a849d7cdcd263d0633341 (patch)
treefc8440207045b27a100fd8f30e6cce7c201a2e37
parentbae2ff8761b0fcb5a1d6a5dbe7fe4452d337232c (diff)
Issue #2969598 by msankhala, joachim: badly formatted sample code in docs for Select::orderBy()
-rw-r--r--core/lib/Drupal/Core/Database/Query/SelectInterface.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/lib/Drupal/Core/Database/Query/SelectInterface.php b/core/lib/Drupal/Core/Database/Query/SelectInterface.php
index e42fcc6..e740b74 100644
--- a/core/lib/Drupal/Core/Database/Query/SelectInterface.php
+++ b/core/lib/Drupal/Core/Database/Query/SelectInterface.php
@@ -404,10 +404,10 @@ interface SelectInterface extends ConditionInterface, AlterableInterface, Extend
* 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".