[wp-trac] [WordPress Trac] #48614: Return type of comments_link_feed uses invalid phpdoc keyword
WordPress Trac
noreply at wordpress.org
Wed Nov 13 21:14:51 UTC 2019
#48614: Return type of comments_link_feed uses invalid phpdoc keyword
--------------------------+-----------------------------
Reporter: diddledan | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version: trunk
Severity: trivial | Keywords: has-patch
Focuses: docs |
--------------------------+-----------------------------
In wp-includes/feed.php the return type of comments_link_feed is
documented as none, which is not a valid keyword according to the phpdoc
specification: https://docs.phpdoc.org/guides/types.html
The attached patch corrects none to be void. Alternatively the @return
documentation tag might be removed altogether for the same effect.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48614>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list