@@ -225,7 +225,7 @@ |
||
| 225 | 225 | /** |
| 226 | 226 | * creates a array with all user data |
| 227 | 227 | * |
| 228 | - * @param $userId |
|
| 228 | + * @param string $userId |
|
| 229 | 229 | * @return array |
| 230 | 230 | * @throws OCSException |
| 231 | 231 | */ |
@@ -194,6 +194,9 @@ |
||
| 194 | 194 | return $this->getCache()->getStatus($this->getSourcePath($file)); |
| 195 | 195 | } |
| 196 | 196 | |
| 197 | + /** |
|
| 198 | + * @param ICacheEntry[] $results |
|
| 199 | + */ |
|
| 197 | 200 | private function formatSearchResults($results) { |
| 198 | 201 | $results = array_filter($results, array($this, 'filterCacheEntry')); |
| 199 | 202 | $results = array_values($results); |
@@ -156,7 +156,7 @@ |
||
| 156 | 156 | /** |
| 157 | 157 | * @param string $gid |
| 158 | 158 | * @param string $displayName |
| 159 | - * @return \OCP\IGroup |
|
| 159 | + * @return null|Group |
|
| 160 | 160 | */ |
| 161 | 161 | protected function getGroupObject($gid, $displayName = null) { |
| 162 | 162 | $backends = array(); |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | * Set a value in the cache if it's not already stored |
| 66 | 66 | * |
| 67 | 67 | * @param string $key |
| 68 | - * @param mixed $value |
|
| 68 | + * @param integer $value |
|
| 69 | 69 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
| 70 | 70 | * @return bool |
| 71 | 71 | */ |
@@ -65,7 +65,7 @@ |
||
| 65 | 65 | * Set a value in the cache if it's not already stored |
| 66 | 66 | * |
| 67 | 67 | * @param string $key |
| 68 | - * @param mixed $value |
|
| 68 | + * @param integer $value |
|
| 69 | 69 | * @param int $ttl Time To Live in seconds. Defaults to 60*60*24 |
| 70 | 70 | * @return bool |
| 71 | 71 | */ |
@@ -498,6 +498,9 @@ |
||
| 498 | 498 | }); |
| 499 | 499 | } |
| 500 | 500 | |
| 501 | + /** |
|
| 502 | + * @param string $path |
|
| 503 | + */ |
|
| 501 | 504 | public function notify($path) { |
| 502 | 505 | $path = '/' . ltrim($path, '/'); |
| 503 | 506 | $shareNotifyHandler = $this->share->notify($this->buildPath($path)); |
@@ -104,6 +104,10 @@ |
||
| 104 | 104 | } |
| 105 | 105 | } |
| 106 | 106 | |
| 107 | + /** |
|
| 108 | + * @param string $href |
|
| 109 | + * @param string $path |
|
| 110 | + */ |
|
| 107 | 111 | public function getPropertyDefinitionsForScope($href, $path) { |
| 108 | 112 | // all valid scopes support the same schema |
| 109 | 113 | |
@@ -37,7 +37,7 @@ |
||
| 37 | 37 | private $filePath; |
| 38 | 38 | |
| 39 | 39 | /** |
| 40 | - * @param string|resource $filePath the path to the file or a file handle which should be streamed |
|
| 40 | + * @param string $filePath the path to the file or a file handle which should be streamed |
|
| 41 | 41 | * @since 8.1.0 |
| 42 | 42 | */ |
| 43 | 43 | public function __construct ($filePath) { |
@@ -47,6 +47,9 @@ |
||
| 47 | 47 | $this->allowUnauthenticatedAccess = false; |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | + /** |
|
| 51 | + * @param string $privileges |
|
| 52 | + */ |
|
| 50 | 53 | function checkPrivileges($uri, $privileges, $recursion = self::R_PARENT, $throwExceptions = true) { |
| 51 | 54 | $access = parent::checkPrivileges($uri, $privileges, $recursion, false); |
| 52 | 55 | if($access === false && $throwExceptions) { |