Docs: Fix the syntax for a parameter notation and separately add a missing return notation for two `POMO_Reader` methods.

Props subrataemfluence.
Fixes #44422.

Built from https://develop.svn.wordpress.org/trunk@44326


git-svn-id: http://core.svn.wordpress.org/trunk@44156 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Drew Jaynes 2018-12-19 07:06:49 +00:00
parent 88ccca5d76
commit d738d15862
2 changed files with 3 additions and 2 deletions

View File

@ -57,7 +57,7 @@ if ( ! class_exists( 'POMO_Reader', false ) ) :
/** /**
* Reads an array of 32-bit Integers from the Stream * 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 * @return mixed Array of integers or false if there isn't
* enough data or on error * enough data or on error
*/ */
@ -157,6 +157,7 @@ if ( ! class_exists( 'POMO_FileReader', false ) ) :
/** /**
* @param int $bytes * @param int $bytes
* @return string|false Returns read string, otherwise false.
*/ */
function read( $bytes ) { function read( $bytes ) {
return fread( $this->_f, $bytes ); return fread( $this->_f, $bytes );

View File

@ -13,7 +13,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '5.1-alpha-44325'; $wp_version = '5.1-alpha-44326';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.