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
This commit is contained in:
parent
8728999a21
commit
a261700dab
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user