mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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:
parent
37c08a07f0
commit
613cac5a2d
@ -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 ) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user