From a92669994bb99e9e04eb682295d1c775384ba182 Mon Sep 17 00:00:00 2001 From: rechosen Date: Tue, 13 Aug 2013 16:20:45 +0200 Subject: [ticket/11786] Fix typo and ugly English in the notification system PHPDoc The notification system contained two PHPDoc lines that needed improvement. PHPBB3-11786 --- phpBB/phpbb/notification/type/quote.php | 2 +- phpBB/phpbb/notification/type/report_pm.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'phpBB/phpbb') diff --git a/phpBB/phpbb/notification/type/quote.php b/phpBB/phpbb/notification/type/quote.php index 0ed13f36fb..041d9765d5 100644 --- a/phpBB/phpbb/notification/type/quote.php +++ b/phpBB/phpbb/notification/type/quote.php @@ -17,7 +17,7 @@ if (!defined('IN_PHPBB')) /** * Post quoting notifications class -* This class handles notifications for quoting users in a post +* This class handles notifications for users being quoted in a post * * @package notifications */ diff --git a/phpBB/phpbb/notification/type/report_pm.php b/phpBB/phpbb/notification/type/report_pm.php index 3fa73bab41..89733503b0 100644 --- a/phpBB/phpbb/notification/type/report_pm.php +++ b/phpBB/phpbb/notification/type/report_pm.php @@ -16,7 +16,7 @@ if (!defined('IN_PHPBB')) } /** -* Private message reproted notifications class +* Private message reported notifications class * This class handles notifications for private messages when they are reported * * @package notifications -- cgit v1.2.1 From ef4eda3855ea7df9611de0abcb5308e0129e406f Mon Sep 17 00:00:00 2001 From: rechosen Date: Tue, 13 Aug 2013 16:56:04 +0200 Subject: [ticket/11786] s/@return void/@return null in content_visibility.php The file phpbb/content_visibility.php still contained a few instances of '@return void' in its PHPDoc blocks, fixed. Thanks to JoshyPHP for reporting. PHPBB3-11786 --- phpBB/phpbb/content_visibility.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'phpBB/phpbb') diff --git a/phpBB/phpbb/content_visibility.php b/phpBB/phpbb/content_visibility.php index fb8ece0e8c..3c94b629e9 100644 --- a/phpBB/phpbb/content_visibility.php +++ b/phpBB/phpbb/content_visibility.php @@ -554,7 +554,7 @@ class phpbb_content_visibility * * @param $data array Contains information from the topics table about given topic * @param $sql_data array Populated with the SQL changes, may be empty at call time - * @return void + * @return null */ public function add_post_to_statistic($data, &$sql_data) { @@ -575,7 +575,7 @@ class phpbb_content_visibility * * @param $data array Contains information from the topics table about given topic * @param $sql_data array Populated with the SQL changes, may be empty at call time - * @return void + * @return null */ public function remove_post_from_statistic($data, &$sql_data) { @@ -597,7 +597,7 @@ class phpbb_content_visibility * @param $forum_id int Forum where the topic is found * @param $topic_row array Contains information from the topic, may be empty at call time * @param $sql_data array Populated with the SQL changes, may be empty at call time - * @return void + * @return null */ public function remove_topic_from_statistic($topic_id, $forum_id, &$topic_row, &$sql_data) { -- cgit v1.2.1 From 564a7cc89dcd2464024b78fe2e70adef771368f2 Mon Sep 17 00:00:00 2001 From: rechosen Date: Tue, 13 Aug 2013 17:05:55 +0200 Subject: [ticket/11786] Further improve wording in phpbb/notification/type/quote.php Further improve wording in phpbb/notification/type/quote.php per suggestion of imkingdavid. PHPBB3-11786 --- phpBB/phpbb/notification/type/quote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'phpBB/phpbb') diff --git a/phpBB/phpbb/notification/type/quote.php b/phpBB/phpbb/notification/type/quote.php index 041d9765d5..5a626aa211 100644 --- a/phpBB/phpbb/notification/type/quote.php +++ b/phpBB/phpbb/notification/type/quote.php @@ -17,7 +17,7 @@ if (!defined('IN_PHPBB')) /** * Post quoting notifications class -* This class handles notifications for users being quoted in a post +* This class handles notifying users when they have been quoted in a post * * @package notifications */ -- cgit v1.2.1