@@ -587,12 +587,12 @@ function _nx( $single, $plural, $number, $context, $domain = 'default' ) {
587587 * @return array {
588588 * Array of translation information for the strings.
589589 *
590- * @type string $0 Singular form to be localized. No longer used.
591- * @type string $1 Plural form to be localized. No longer used.
592- * @type string $singular Singular form to be localized.
593- * @type string $plural Plural form to be localized.
594- * @type null $context Context information for the translators.
595- * @type string $domain Text domain.
590+ * @type string $0 Singular form to be localized. No longer used.
591+ * @type string $1 Plural form to be localized. No longer used.
592+ * @type string $singular Singular form to be localized.
593+ * @type string $plural Plural form to be localized.
594+ * @type null $context Context information for the translators.
595+ * @type string|null $domain Text domain.
596596 * }
597597 */
598598function _n_noop ( $ singular , $ plural , $ domain = null ) {
@@ -654,7 +654,7 @@ function _nx_noop( $singular, $plural, $context, $domain = null ) {
654654}
655655
656656/**
657- * Translates and retrieves the singular or plural form of a string that's been registered
657+ * Translates and returns the singular or plural form of a string that's been registered
658658 * with _n_noop() or _nx_noop().
659659 *
660660 * Used when you want to use a translatable plural string once the number is known.
@@ -667,11 +667,18 @@ function _nx_noop( $singular, $plural, $context, $domain = null ) {
667667 *
668668 * @since 3.1.0
669669 *
670- * @param array $nooped_plural Array with singular, plural, and context keys, usually the result of _n_noop() or _nx_noop().
670+ * @param array $nooped_plural {
671+ * Array that is usually a return value from _n_noop() or _nx_noop().
672+ *
673+ * @type string $singular Singular form to be localized.
674+ * @type string $plural Plural form to be localized.
675+ * @type string|null $context Context information for the translators.
676+ * @type string|null $domain Text domain.
677+ * }
671678 * @param int $count Number of objects.
672679 * @param string $domain Optional. Text domain. Unique identifier for retrieving translated strings. If $nooped_plural contains
673680 * a text domain passed to _n_noop() or _nx_noop(), it will override this value. Default 'default'.
674- * @return string Either $single or $plural translated text.
681+ * @return string Either $singular or $plural translated text.
675682 */
676683function translate_nooped_plural ( $ nooped_plural , $ count , $ domain = 'default ' ) {
677684 if ( $ nooped_plural ['domain ' ] ) {
0 commit comments