mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[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
This commit is contained in:
@@ -554,7 +554,7 @@ class phpbb_content_visibility
|
|||||||
*
|
*
|
||||||
* @param $data array Contains information from the topics table about given topic
|
* @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
|
* @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)
|
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 $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
|
* @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)
|
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 $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 $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
|
* @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)
|
public function remove_topic_from_statistic($topic_id, $forum_id, &$topic_row, &$sql_data)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user