Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #2
klausiCommitted a fix, thanks for reporting!