Fix PHPDoc comments project-wide
This commit is contained in:
parent
6077aa5847
commit
3282ce5389
113 changed files with 1703 additions and 795 deletions
|
@ -33,7 +33,8 @@ class UserImport
|
|||
* Remove columns from array $arr that aren't in table $table
|
||||
*
|
||||
* @param string $table Table name
|
||||
* @param array &$arr Column=>Value array from json (by ref)
|
||||
* @param array &$arr Column=>Value array from json (by ref)
|
||||
* @throws \Exception
|
||||
*/
|
||||
private static function checkCols($table, &$arr)
|
||||
{
|
||||
|
@ -57,7 +58,9 @@ class UserImport
|
|||
* Import data into table $table
|
||||
*
|
||||
* @param string $table Table name
|
||||
* @param array $arr Column=>Value array from json
|
||||
* @param array $arr Column=>Value array from json
|
||||
* @return array|bool
|
||||
* @throws \Exception
|
||||
*/
|
||||
private static function dbImportAssoc($table, $arr)
|
||||
{
|
||||
|
@ -81,8 +84,10 @@ class UserImport
|
|||
/**
|
||||
* @brief Import account file exported from mod/uexport
|
||||
*
|
||||
* @param App $a Friendica App Class
|
||||
* @param App $a Friendica App Class
|
||||
* @param array $file array from $_FILES
|
||||
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
|
||||
* @throws \ImagickException
|
||||
*/
|
||||
public static function importAccount(App $a, $file)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue