@@ -268,7 +268,7 @@ |
||
| 268 | 268 | |
| 269 | 269 | /** |
| 270 | 270 | * @NoCSRFRequired |
| 271 | - * @return DataResponse |
|
| 271 | + * @return DataDisplayResponse |
|
| 272 | 272 | */ |
| 273 | 273 | public function getFailedIntegrityCheckFiles() { |
| 274 | 274 | $completeResults = $this->checker->getResults(); |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | /** |
| 140 | 140 | * get the current active user |
| 141 | 141 | * |
| 142 | - * @return \OCP\IUser|null Current user, otherwise null |
|
| 142 | + * @return null|User Current user, otherwise null |
|
| 143 | 143 | */ |
| 144 | 144 | public function getUser() { |
| 145 | 145 | // FIXME: This is a quick'n dirty work-around for the incognito mode as |
@@ -211,7 +211,7 @@ discard block |
||
| 211 | 211 | * |
| 212 | 212 | * @param string $uid |
| 213 | 213 | * @param string $password |
| 214 | - * @return boolean|null |
|
| 214 | + * @return boolean |
|
| 215 | 215 | * @throws LoginException |
| 216 | 216 | */ |
| 217 | 217 | public function login($uid, $password) { |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | /** |
| 89 | 89 | * List all installed apps |
| 90 | 90 | * |
| 91 | - * @return string[] |
|
| 91 | + * @return integer[] |
|
| 92 | 92 | */ |
| 93 | 93 | public function getInstalledApps() { |
| 94 | 94 | return array_keys($this->getInstalledAppsValues()); |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | /** |
| 217 | 217 | * Returns a list of apps that need upgrade |
| 218 | 218 | * |
| 219 | - * @param array $version ownCloud version as array of version components |
|
| 219 | + * @param array $ocVersion ownCloud version as array of version components |
|
| 220 | 220 | * @return array list of app info from apps that need an upgrade |
| 221 | 221 | * |
| 222 | 222 | * @internal |
@@ -289,6 +289,9 @@ discard block |
||
| 289 | 289 | return in_array($appId, $this->shippedApps); |
| 290 | 290 | } |
| 291 | 291 | |
| 292 | + /** |
|
| 293 | + * @param string $appId |
|
| 294 | + */ |
|
| 292 | 295 | private function isAlwaysEnabled($appId) { |
| 293 | 296 | $alwaysEnabled = $this->getAlwaysEnabledApps(); |
| 294 | 297 | return in_array($appId, $alwaysEnabled); |
@@ -42,6 +42,9 @@ |
||
| 42 | 42 | protected $testId; |
| 43 | 43 | protected $preName; |
| 44 | 44 | |
| 45 | + /** |
|
| 46 | + * @param string $name |
|
| 47 | + */ |
|
| 45 | 48 | public function __construct($name=null){ |
| 46 | 49 | $this->addType('testId', 'integer'); |
| 47 | 50 | $this->name = $name; |
@@ -22,7 +22,6 @@ |
||
| 22 | 22 | |
| 23 | 23 | namespace OC\App; |
| 24 | 24 | |
| 25 | -use OC_Util; |
|
| 26 | 25 | use OCP\IConfig; |
| 27 | 26 | |
| 28 | 27 | /** |
@@ -144,6 +144,9 @@ |
||
| 144 | 144 | return true; |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | + /** |
|
| 148 | + * @param string $path |
|
| 149 | + */ |
|
| 147 | 150 | public function url_stat($path) { |
| 148 | 151 | if (isset(self::$data[$path])) { |
| 149 | 152 | $size = strlen(self::$data[$path]); |
@@ -144,6 +144,9 @@ |
||
| 144 | 144 | return true; |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | + /** |
|
| 148 | + * @param string $path |
|
| 149 | + */ |
|
| 147 | 150 | public function url_stat($path) { |
| 148 | 151 | if (isset(self::$data[$path])) { |
| 149 | 152 | $size = strlen(self::$data[$path]); |
@@ -27,7 +27,6 @@ |
||
| 27 | 27 | use OCP\IUser; |
| 28 | 28 | use OCP\ILogger; |
| 29 | 29 | use OCP\Files\Folder; |
| 30 | - |
|
| 31 | 30 | use OC\Share20\Exception\ShareNotFound; |
| 32 | 31 | |
| 33 | 32 | /** |
@@ -1036,7 +1036,7 @@ discard block |
||
| 1036 | 1036 | * @param string $principalUri |
| 1037 | 1037 | * @param string $uri |
| 1038 | 1038 | * @param array $properties |
| 1039 | - * @return mixed |
|
| 1039 | + * @return integer |
|
| 1040 | 1040 | */ |
| 1041 | 1041 | function createSubscription($principalUri, $uri, array $properties) { |
| 1042 | 1042 | |
@@ -1377,6 +1377,9 @@ discard block |
||
| 1377 | 1377 | return $this->sharingBackend->applyShareAcl($resourceId, $acl); |
| 1378 | 1378 | } |
| 1379 | 1379 | |
| 1380 | + /** |
|
| 1381 | + * @param boolean $toV2 |
|
| 1382 | + */ |
|
| 1380 | 1383 | private function convertPrincipal($principalUri, $toV2) { |
| 1381 | 1384 | if ($this->principalBackend->getPrincipalPrefix() === 'principals') { |
| 1382 | 1385 | list(, $name) = URLUtil::splitPath($principalUri); |