Docs: Make the `@return` tag for `Translation_Entry::key()` more precise.

Props manooweb.
Fixes #55640.
Built from https://develop.svn.wordpress.org/trunk@53305


git-svn-id: http://core.svn.wordpress.org/trunk@52894 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-04-28 16:53:09 +00:00
parent 2334cea3e9
commit 8e29ebbc16
2 changed files with 3 additions and 3 deletions

View File

@ -84,9 +84,9 @@ if ( ! class_exists( 'Translation_Entry', false ) ) :
} }
/** /**
* Generates a unique key for this entry * Generates a unique key for this entry.
* *
* @return string|bool the key or false if the entry is empty * @return string|false The key or false if the entry is empty.
*/ */
public function key() { public function key() {
if ( null === $this->singular || '' === $this->singular ) { if ( null === $this->singular || '' === $this->singular ) {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.0-beta3-53304'; $wp_version = '6.0-beta3-53305';
/** /**
* 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.