[wp-trac] [WordPress Trac] #37867: Document return types for create/create_and_get/create_many() methods of factory classes
WordPress Trac
noreply at wordpress.org
Fri Jun 30 04:35:43 UTC 2017
#37867: Document return types for create/create_and_get/create_many() methods of
factory classes
------------------------------+---------------------------
Reporter: jdgrimes | Owner: DrewAPicture
Type: enhancement | Status: closed
Priority: normal | Milestone: 4.9
Component: Build/Test Tools | Version: 3.7
Severity: normal | Resolution: fixed
Keywords: has-patch | Focuses: docs
------------------------------+---------------------------
Changes (by DrewAPicture):
* owner: => DrewAPicture
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"40968"]:
{{{
#!CommitTicketReference repository="" revision="40968"
Tests: Add `@method` notations to factor class DocBlocks as a way to
indicate expected return types from factory methods for the benefit of
IDEs.
Props jdgrimes.
Fixes #37867.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37867#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list