@@ -482,7 +482,7 @@ function _n( $single, $plural, $number, $domain = 'default' ) {
482482 * @param string $translation Translated text.
483483 * @param string $single The text to be used if the number is singular.
484484 * @param string $plural The text to be used if the number is plural.
485- * @param string $number The number to compare against to use either the singular or plural form.
485+ * @param int $number The number to compare against to use either the singular or plural form.
486486 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
487487 */
488488 $ translation = apply_filters ( 'ngettext ' , $ translation , $ single , $ plural , $ number , $ domain );
@@ -497,7 +497,7 @@ function _n( $single, $plural, $number, $domain = 'default' ) {
497497 * @param string $translation Translated text.
498498 * @param string $single The text to be used if the number is singular.
499499 * @param string $plural The text to be used if the number is plural.
500- * @param string $number The number to compare against to use either the singular or plural form.
500+ * @param int $number The number to compare against to use either the singular or plural form.
501501 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
502502 */
503503 $ translation = apply_filters ( "ngettext_ {$ domain }" , $ translation , $ single , $ plural , $ number , $ domain );
@@ -541,7 +541,7 @@ function _nx( $single, $plural, $number, $context, $domain = 'default' ) {
541541 * @param string $translation Translated text.
542542 * @param string $single The text to be used if the number is singular.
543543 * @param string $plural The text to be used if the number is plural.
544- * @param string $number The number to compare against to use either the singular or plural form.
544+ * @param int $number The number to compare against to use either the singular or plural form.
545545 * @param string $context Context information for the translators.
546546 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
547547 */
@@ -557,7 +557,7 @@ function _nx( $single, $plural, $number, $context, $domain = 'default' ) {
557557 * @param string $translation Translated text.
558558 * @param string $single The text to be used if the number is singular.
559559 * @param string $plural The text to be used if the number is plural.
560- * @param string $number The number to compare against to use either the singular or plural form.
560+ * @param int $number The number to compare against to use either the singular or plural form.
561561 * @param string $context Context information for the translators.
562562 * @param string $domain Text domain. Unique identifier for retrieving translated strings.
563563 */
0 commit comments