@@ -277,7 +277,7 @@ |
||
277 | 277 | * @param string $installedVersion previous version from which to upgrade from |
278 | 278 | * |
279 | 279 | * @throws \Exception |
280 | - * @return bool true if the operation succeeded, false otherwise |
|
280 | + * @return boolean|null true if the operation succeeded, false otherwise |
|
281 | 281 | */ |
282 | 282 | private function doUpgrade($currentVersion, $installedVersion) { |
283 | 283 | // Stop update if the update is over several major versions |
@@ -32,7 +32,6 @@ |
||
32 | 32 | |
33 | 33 | namespace OC; |
34 | 34 | |
35 | -use OC\Core\Command\Log\Manage; |
|
36 | 35 | use OC\Hooks\BasicEmitter; |
37 | 36 | use OC_App; |
38 | 37 | use OC_Installer; |
@@ -84,7 +84,7 @@ |
||
84 | 84 | |
85 | 85 | /** |
86 | 86 | * Get the active backends |
87 | - * @return \OCP\UserInterface[] |
|
87 | + * @return \OCP\UserInterface |
|
88 | 88 | */ |
89 | 89 | public function getBackends() { |
90 | 90 | return $this->backends; |
@@ -142,7 +142,7 @@ |
||
142 | 142 | /** |
143 | 143 | * get the current active user |
144 | 144 | * |
145 | - * @return \OCP\IUser|null Current user, otherwise null |
|
145 | + * @return null|User Current user, otherwise null |
|
146 | 146 | */ |
147 | 147 | public function getUser() { |
148 | 148 | // FIXME: This is a quick'n dirty work-around for the incognito mode as |
@@ -36,6 +36,7 @@ |
||
36 | 36 | * @param object $object an object or classname |
37 | 37 | * @param string $method the method which we want to inspect |
38 | 38 | * @since 8.0.0 |
39 | + * @return void |
|
39 | 40 | */ |
40 | 41 | public function reflect($object, $method); |
41 | 42 |
@@ -131,7 +131,7 @@ |
||
131 | 131 | * @deprecated 6.0.0 |
132 | 132 | * Gets one queued task |
133 | 133 | * @param int $id ID of the task |
134 | - * @return BackgroundJob\IJob|null |
|
134 | + * @return BackgroundJob\IJob |
|
135 | 135 | * @since 4.5.0 |
136 | 136 | */ |
137 | 137 | public static function findQueuedTask($id) { |
@@ -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') { |