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

Props manooweb.
Fixes #55640.

git-svn-id: https://develop.svn.wordpress.org/trunk@53305 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2022-04-28 16:51:12 +00:00
parent 37c08a07f0
commit 613cac5a2d

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() {
if ( null === $this->singular || '' === $this->singular ) {