Docs: Add missing parameter and return notations in the DocBlock for WP_Theme::_name_sort_i18n(), a private usort() helper.

See #32246.


git-svn-id: https://develop.svn.wordpress.org/trunk@36738 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Drew Jaynes 2016-02-26 17:20:59 +00:00
parent 135ec99ab5
commit 9c0f474a5b

View File

@ -1361,7 +1361,10 @@ final class WP_Theme implements ArrayAccess {
* @static
* @access private
*
* @return int
* @param string $a First name.
* @param string $b Second name.
* @return int Negative if `$a` falls lower in the natural order than `$b`. Zero if they fall equally.
* Greater than 0 if `$a` falls higher in the natural order than `$b`. Used with uasort().
*/
private static function _name_sort_i18n( $a, $b ) {
// Don't mark up; Do translate.