]> git.mxchange.org Git - friendica.git/blobdiff - src/Core/UserImport.php
Fix PHPDoc comments project-wide
[friendica.git] / src / Core / UserImport.php
index 59ab7af4aa832cdc7249c5c0bdccd4382b8d847e..6cefae556f30ba8713af1bfb9bcef36d3ed1bf81 100644 (file)
@@ -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)
        {