@@ -646,7 +646,7 @@ |
||
| 646 | 646 | * ->where($or); |
| 647 | 647 | * </code> |
| 648 | 648 | * |
| 649 | - * @param mixed $predicates The restriction predicates. |
|
| 649 | + * @param CompositeExpression $predicates The restriction predicates. |
|
| 650 | 650 | * |
| 651 | 651 | * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. |
| 652 | 652 | */ |
@@ -120,7 +120,7 @@ |
||
| 120 | 120 | * Set a value in the cache if it's not already stored |
| 121 | 121 | * |
| 122 | 122 | * @param string $key |
| 123 | - * @param mixed $value |
|
| 123 | + * @param integer $value |
|
| 124 | 124 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
| 125 | 125 | * @return bool |
| 126 | 126 | */ |
@@ -67,7 +67,7 @@ |
||
| 67 | 67 | } |
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | - * @param \Doctrine\DBAL\Connection $connection |
|
| 70 | + * @param \OC\DB\Connection $connection |
|
| 71 | 71 | * @return string[] |
| 72 | 72 | */ |
| 73 | 73 | protected function getAllNonUTF8BinTables($connection) { |
@@ -183,7 +183,7 @@ discard block |
||
| 183 | 183 | * make preview_icon available as a simple function |
| 184 | 184 | * Returns the path to the preview of the image. |
| 185 | 185 | * @param string $path path of file |
| 186 | - * @return link to the preview |
|
| 186 | + * @return string to the preview |
|
| 187 | 187 | * |
| 188 | 188 | * For further information have a look at OC_Helper::previewIcon |
| 189 | 189 | */ |
@@ -193,6 +193,7 @@ discard block |
||
| 193 | 193 | |
| 194 | 194 | /** |
| 195 | 195 | * @param string $path |
| 196 | + * @param string $token |
|
| 196 | 197 | */ |
| 197 | 198 | function publicPreview_icon ( $path, $token ) { |
| 198 | 199 | return OC_Helper::publicPreviewIcon( $path, $token ); |
@@ -238,6 +238,7 @@ |
||
| 238 | 238 | |
| 239 | 239 | /** |
| 240 | 240 | * Sets user id for session and triggers emit |
| 241 | + * @param string $uid |
|
| 241 | 242 | */ |
| 242 | 243 | public static function setUserId($uid) { |
| 243 | 244 | $userSession = \OC::$server->getUserSession(); |
@@ -334,7 +334,7 @@ |
||
| 334 | 334 | * Returns an db result and throws exceptions when there are more or less |
| 335 | 335 | * results |
| 336 | 336 | * @param string $sql the sql query |
| 337 | - * @param array $params the parameters of the sql query |
|
| 337 | + * @param string[] $params the parameters of the sql query |
|
| 338 | 338 | * @param int $limit the maximum number of rows |
| 339 | 339 | * @param int $offset from which row we want to start |
| 340 | 340 | * @throws DoesNotExistException if the item does not exist |
@@ -45,6 +45,7 @@ discard block |
||
| 45 | 45 | class Files { |
| 46 | 46 | /** |
| 47 | 47 | * Recusive deletion of folders |
| 48 | + * @param string $dir |
|
| 48 | 49 | * @return bool |
| 49 | 50 | * @since 5.0.0 |
| 50 | 51 | */ |
@@ -66,7 +67,7 @@ discard block |
||
| 66 | 67 | /** |
| 67 | 68 | * Search for files by mimetype |
| 68 | 69 | * @param string $mimetype |
| 69 | - * @return array |
|
| 70 | + * @return \OC\Files\FileInfo[] |
|
| 70 | 71 | * @since 6.0.0 |
| 71 | 72 | */ |
| 72 | 73 | static public function searchByMime( $mimetype ) { |
@@ -159,7 +159,7 @@ |
||
| 159 | 159 | * Checks whether the given path is a part file |
| 160 | 160 | * |
| 161 | 161 | * @param string $path Path that may identify a .part file |
| 162 | - * @return string File path without .part extension |
|
| 162 | + * @return boolean File path without .part extension |
|
| 163 | 163 | * @note this is needed for reusing keys |
| 164 | 164 | */ |
| 165 | 165 | private function isPartFile($path) { |