From 613cac5a2d809a4078b23945a6c57750bdebd9b0 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 28 Apr 2022 16:51:12 +0000 Subject: [PATCH] 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 --- src/wp-includes/pomo/entry.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-includes/pomo/entry.php b/src/wp-includes/pomo/entry.php index 0e53bc1afd..55ff28680e 100644 --- a/src/wp-includes/pomo/entry.php +++ b/src/wp-includes/pomo/entry.php @@ -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 ) {