mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Fix PHPDoc comments project-wide
This commit is contained in:
parent
6077aa5847
commit
3282ce5389
113 changed files with 1703 additions and 795 deletions
|
@ -192,7 +192,9 @@ class Term
|
|||
|
||||
/**
|
||||
* @param integer $itemid item id
|
||||
* @param $files
|
||||
* @return void
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function insertFromFileFieldByItemId($itemid, $files)
|
||||
{
|
||||
|
@ -241,6 +243,8 @@ class Term
|
|||
*
|
||||
* @param array $item
|
||||
* @return array
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
* @throws \ImagickException
|
||||
*/
|
||||
public static function populateTagsFromItem(&$item)
|
||||
{
|
||||
|
@ -291,8 +295,10 @@ class Term
|
|||
|
||||
/**
|
||||
* Delete all tags from an item
|
||||
*
|
||||
* @param int itemid - choose from which item the tags will be removed
|
||||
* @param array type - items type. default is [TERM_HASHTAG, TERM_MENTION]
|
||||
* @param array $type
|
||||
* @throws \Exception
|
||||
*/
|
||||
public static function deleteByItemId($itemid, $type = [TERM_HASHTAG, TERM_MENTION])
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue