API page: https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Extension...

There is a line in this documentation that uses the documentation tag @throw instead of @throws, and needs to be fixed. See https://www.drupal.org/node/1354#throws

For extra credit, see if this is done elsewhere in core and fix those places too.

Comments

pushpinderchauhan’s picture

Status: Active » Needs review
StatusFileSize
new581 bytes

Looked for @throw in whole code but dint find any other :)

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Indeed this is the only instance:

$ ag "@throw "
core/lib/Drupal/Core/Extension/InfoParserInterface.php
52:   * @throw \Drupal\Core\Extension\InfoParserException
alexpott’s picture

Status: Reviewed & tested by the community » Fixed

Committed e3f8fbb and pushed to 8.0.x. Thanks!

  • alexpott committed e3f8fbb on 8.0.x
    Issue #2405911 by er.pushpinderrana: @throw instead of @throws in...

Status: Fixed » Closed (fixed)

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