From 4f9bd296a75fabb43803071c99e56e90491778f5 Mon Sep 17 00:00:00 2001 From: rxu Date: Wed, 14 Jun 2023 21:13:49 +0700 Subject: [PATCH] [ticket/17107] Add method parameter and result type declarations PHPBB3-17107 --- phpBB/phpbb/viewonline_helper.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/phpBB/phpbb/viewonline_helper.php b/phpBB/phpbb/viewonline_helper.php index fa7312a41f..92eca6145f 100644 --- a/phpBB/phpbb/viewonline_helper.php +++ b/phpBB/phpbb/viewonline_helper.php @@ -41,10 +41,9 @@ class viewonline_helper * Array structure matches sql_fethrowset() result array * * @param array $session_data_rowset Users' session data array - * * @return void */ - public function get_forum_ids(&$session_data_rowset) + public function get_forum_ids(array &$session_data_rowset): void { $topic_ids = $match = []; foreach ($session_data_rowset as $number => $row)