The following trips Coder:

  /**
   * Sets the title of the menu.
   *
   * Visit also:
   * @link https://www.drupal.org/node/323101 Strings at well-known places: built-in menus, .. @endlink
   *
   * @param string $title
   *  'The untranslated title of the menu item.
   *
   * @return IMenuItem
   *   This.
   */
  public function setTitle($title);

With this error:

Parameter tags must be defined first in a doc comment

Why shouldn't one be allowed to have a @link @endlink inline (or on its own line between other text) in a method description ?

Comments

  • klausi committed b40034b on 8.x-2.x
    Issue #2463707: @link @endlink tags are allowed before @param tags in...
klausi’s picture

Version: 8.x-2.1 » 8.x-2.x-dev
Status: Active » Fixed

Committed a fix, thanks for reporting!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.