Pull merge.
[yaffs-website] / web / core / lib / Drupal / Core / Database / Query / SelectInterface.php
index 6a91e727997784e5729f2cf6d5311d16c1ebeb1a..e740b7496c530d8df4c2d9f38072dbad103740b0 100644 (file)
@@ -95,7 +95,7 @@ interface SelectInterface extends ConditionInterface, AlterableInterface, Extend
    * Note that this method must be called by reference as well:
    *
    * @code
-   * $fields =& $query->getTables();
+   * $tables =& $query->getTables();
    * @endcode
    *
    * @return
@@ -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".