1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 04:41:53 +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

@@ -563,7 +563,7 @@ class comment
* @param $id - comment_id to delete
* @param string $table - comment belongs to this table eg. 'news'
* @param string $itemid - corresponding item from the table. eg. news_id
* @return int|null|void
* @return int|null
*/
function deleteComment($id, $table='', $itemid='') // delete a single comment by comment id.
{
@@ -1198,7 +1198,7 @@ class comment
* @param $comment
* @param $form
* @param $modcomment
* @return mixed
* @return array|string|string[]
*/
public function parseLayout($comment, $form, $modcomment)
{