From d738d15862e90ce452c4c24495df72190012f25d Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Wed, 19 Dec 2018 07:06:49 +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. Built from https://develop.svn.wordpress.org/trunk@44326 git-svn-id: http://core.svn.wordpress.org/trunk@44156 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/pomo/streams.php | 3 ++- wp-includes/version.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/wp-includes/pomo/streams.php b/wp-includes/pomo/streams.php index b0605057d9..9cd5ac441e 100644 --- a/wp-includes/pomo/streams.php +++ b/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 ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 7d96afa684..cc43bdc663 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @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.