mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 23:07:39 +02:00
[ticket/17107] Add method parameter and result type declarations
PHPBB3-17107
This commit is contained in:
@@ -41,10 +41,9 @@ class viewonline_helper
|
|||||||
* Array structure matches sql_fethrowset() result array
|
* Array structure matches sql_fethrowset() result array
|
||||||
*
|
*
|
||||||
* @param array $session_data_rowset Users' session data array
|
* @param array $session_data_rowset Users' session data array
|
||||||
*
|
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function get_forum_ids(&$session_data_rowset)
|
public function get_forum_ids(array &$session_data_rowset): void
|
||||||
{
|
{
|
||||||
$topic_ids = $match = [];
|
$topic_ids = $match = [];
|
||||||
foreach ($session_data_rowset as $number => $row)
|
foreach ($session_data_rowset as $number => $row)
|
||||||
|
Reference in New Issue
Block a user