From a261700dab1120ac66eb5512dcfd75932a17887a Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 19 Dec 2018 07:05:44 +0000 Subject: [PATCH] Docs: Fix the syntax for a parameter notation and separately add a missing return notation for two `POMO_Reader` methods. Props subrataemfluence. Fixes #44422. git-svn-id: https://develop.svn.wordpress.org/trunk@44326 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/pomo/streams.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/pomo/streams.php b/src/wp-includes/pomo/streams.php index b0605057d9..9cd5ac441e 100644 --- a/src/wp-includes/pomo/streams.php +++ b/src/wp-includes/pomo/streams.php @@ -57,7 +57,7 @@ if ( ! class_exists( 'POMO_Reader', false ) ) : /** * Reads an array of 32-bit Integers from the Stream * - * @param integer count How many elements should be read + * @param integer $count How many elements should be read * @return mixed Array of integers or false if there isn't * enough data or on error */ @@ -157,6 +157,7 @@ if ( ! class_exists( 'POMO_FileReader', false ) ) : /** * @param int $bytes + * @return string|false Returns read string, otherwise false. */ function read( $bytes ) { return fread( $this->_f, $bytes );