From 9beaad787810aca5256aa12cc6c582d3db29d82b Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Wed, 16 Jan 2019 05:35:27 +0000 Subject: [PATCH] Docs: Correct the docs for `POMO_Reader::setEndian()`. The parameter type and name where the wrong way around. Props ishitaka. Fixes #45410. git-svn-id: https://develop.svn.wordpress.org/trunk@44614 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/pomo/streams.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/pomo/streams.php b/src/wp-includes/pomo/streams.php index 9cd5ac441e..835078b7d1 100644 --- a/src/wp-includes/pomo/streams.php +++ b/src/wp-includes/pomo/streams.php @@ -32,7 +32,7 @@ if ( ! class_exists( 'POMO_Reader', false ) ) : /** * Sets the endianness of the file. * - * @param $endian string 'big' or 'little' + * @param string $endian Set the endianness of the file. Accepts 'big', or 'little'. */ function setEndian( $endian ) { $this->endian = $endian;