mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-08 14:44:37 +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:
@@ -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 ) {
|
||||
|
||||
Reference in New Issue
Block a user