1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

PHPDoc fixes and code optimization.

This commit is contained in:
Cameron
2021-12-03 14:58:33 -08:00
parent aff6daf590
commit 0d8f3e9086
73 changed files with 241 additions and 210 deletions

View File

@@ -971,7 +971,8 @@ class e107forum
/**
* Remove threadID from the 'viewed list' list of other users.
* @param $threadId
*/
* @return false|void
*/
private function clearReadThreads($threadId)
{
if(empty($threadId))
@@ -2015,6 +2016,7 @@ class e107forum
* @param $forumId
* @param $from
* @param $view
* @param null $filter
* @return array
*/
function forumGetThreads($forumId, $from, $view, $filter = null)

View File

@@ -1006,10 +1006,9 @@ class forum_post_handler
}
/**
* @param $text
* @param $text
* @param bool $caption
*/
function render($text, $caption = false)
{