@@ -66,7 +66,7 @@ |
||
| 66 | 66 | /** |
| 67 | 67 | * Search for files by mimetype |
| 68 | 68 | * @param string $mimetype |
| 69 | - * @return array |
|
| 69 | + * @return \OC\Files\FileInfo[] |
|
| 70 | 70 | * @since 6.0.0 |
| 71 | 71 | */ |
| 72 | 72 | static public function searchByMime( $mimetype ) { |
@@ -59,6 +59,7 @@ |
||
| 59 | 59 | * @param string $query |
| 60 | 60 | * @param int $page pages start at page 1 |
| 61 | 61 | * @param int $size, 0 = SIZE_ALL |
| 62 | + * @param integer $size |
|
| 62 | 63 | * @return array An array of OCP\Search\Result's |
| 63 | 64 | * @since 8.0.0 |
| 64 | 65 | */ |
@@ -100,8 +100,8 @@ |
||
| 100 | 100 | /** |
| 101 | 101 | * Return the relative date in relation to today. Returns something like "last hour" or "two month ago" |
| 102 | 102 | * @param int $timestamp unix timestamp |
| 103 | - * @param boolean $dateOnly |
|
| 104 | - * @return \OC_L10N_String human readable interpretation of the timestamp |
|
| 103 | + * @param integer $dateOnly |
|
| 104 | + * @return string human readable interpretation of the timestamp |
|
| 105 | 105 | * |
| 106 | 106 | * @deprecated 8.0.0 Use \OCP\Template::relative_modified_date() instead |
| 107 | 107 | */ |
@@ -524,7 +524,7 @@ |
||
| 524 | 524 | * @param array $input The array to work on |
| 525 | 525 | * @param int $case Either MB_CASE_UPPER or MB_CASE_LOWER (default) |
| 526 | 526 | * @param string $encoding The encoding parameter is the character encoding. Defaults to UTF-8 |
| 527 | - * @return array |
|
| 527 | + * @return string |
|
| 528 | 528 | * @since 4.5.0 |
| 529 | 529 | */ |
| 530 | 530 | public static function mb_array_change_key_case($input, $case = MB_CASE_LOWER, $encoding = 'UTF-8') { |
@@ -53,7 +53,7 @@ |
||
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | /** |
| 56 | - * @param \Doctrine\DBAL\Connection $connection |
|
| 56 | + * @param \OCP\IDBConnection $connection |
|
| 57 | 57 | * @return string[] |
| 58 | 58 | */ |
| 59 | 59 | private function getAllMyIsamTables($connection) { |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | } |
| 98 | 98 | |
| 99 | 99 | /** |
| 100 | - * @param string|int $category |
|
| 100 | + * @param string $category |
|
| 101 | 101 | * @return int |
| 102 | 102 | */ |
| 103 | 103 | protected function getCategory($category) { |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | * |
| 66 | 66 | * @NoAdminRequired |
| 67 | 67 | * @NoSubadminRequired |
| 68 | - * @return array |
|
| 68 | + * @return DataResponse |
|
| 69 | 69 | */ |
| 70 | 70 | public function addPersonalRootCertificate() { |
| 71 | 71 | $headers = []; |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | namespace OC\Settings\Controller; |
| 28 | 28 | |
| 29 | 29 | use OC\AppFramework\Http; |
| 30 | -use OC\Settings\Factory\SubAdminFactory; |
|
| 31 | 30 | use OC\User\User; |
| 32 | 31 | use OCP\App\IAppManager; |
| 33 | 32 | use OCP\AppFramework\Controller; |
@@ -23,14 +23,11 @@ |
||
| 23 | 23 | use OC; |
| 24 | 24 | use OC\Core\Application; |
| 25 | 25 | use OCP\AppFramework\IAppContainer; |
| 26 | -use OC\Files\Filesystem; |
|
| 27 | 26 | use OCP\AppFramework\Http; |
| 28 | -use OCP\Image; |
|
| 29 | 27 | use OCP\Files\Folder; |
| 30 | 28 | use OCP\Files\File; |
| 31 | 29 | use OCP\IUser; |
| 32 | 30 | use OCP\IAvatar; |
| 33 | - |
|
| 34 | 31 | use Test\Traits\UserTrait; |
| 35 | 32 | |
| 36 | 33 | /** |