[ticket/17107] Fix docblock issues

PHPBB3-17107
This commit is contained in:
rxu 2023-05-24 20:27:53 +07:00
parent 60d267893c
commit dfe6421da8
No known key found for this signature in database
GPG key ID: 955F0567380E586A

View file

@ -14,8 +14,8 @@
namespace phpbb;
/**
* Class to handle viewonline related tasks
*/
* Class to handle viewonline related tasks
*/
class viewonline_helper
{
/** @var \phpbb\filesystem\filesystem_interface */
@ -25,9 +25,9 @@ class viewonline_helper
protected $db;
/**
* @param \phpbb\filesystem\filesystem_interface $filesystem phpBB's filesystem service
* @param \phpbb\db\driver\driver_interface $db
*/
* @param \phpbb\filesystem\filesystem_interface $filesystem phpBB's filesystem service
* @param \phpbb\db\driver\driver_interface $db
*/
public function __construct(\phpbb\filesystem\filesystem_interface $filesystem, \phpbb\db\driver\driver_interface $db)
{
$this->filesystem = $filesystem;
@ -40,7 +40,7 @@ class viewonline_helper
* Retrieve forum IDs and add the data into the session data array
* Array structure matches sql_fethrowset() result array
*
* @param string $session_data_rowset Users' session data array
* @param array $session_data_rowset Users' session data array
*
* @return void
*/
@ -78,11 +78,11 @@ class viewonline_helper
}
/**
* Get user page
*
* @param string $session_page User's session page
* @return array Match array filled by preg_match()
*/
* Get user page
*
* @param string $session_page User's session page
* @return array Match array filled by preg_match()
*/
public function get_user_page($session_page)
{
$session_page = $this->filesystem->clean_path($session_page);