| @@ -110,7 +110,7 @@ | ||
| 110 | 110 | * check if it is a file located in data/user/files only files in the | 
| 111 | 111 | * 'files' directory should be moved to the trash | 
| 112 | 112 | * | 
| 113 | - * @param $path | |
| 113 | + * @param string $path | |
| 114 | 114 | * @return bool | 
| 115 | 115 | */ | 
| 116 | 116 |  	protected function shouldMoveToTrash($path){ | 
| @@ -671,7 +671,7 @@ discard block | ||
| 671 | 671 | * if the size limit for the trash bin is reached, we delete the oldest | 
| 672 | 672 | * files in the trash bin until we meet the limit again | 
| 673 | 673 | * | 
| 674 | - * @param array $files | |
| 674 | + * @param \OCP\Files\FileInfo[] $files | |
| 675 | 675 | * @param string $user | 
| 676 | 676 | * @param int $availableSpace available disc space | 
| 677 | 677 | * @return int size of deleted files | 
| @@ -699,7 +699,7 @@ discard block | ||
| 699 | 699 | /** | 
| 700 | 700 | * delete files older then max storage time | 
| 701 | 701 | * | 
| 702 | - * @param array $files list of files sorted by mtime | |
| 702 | + * @param \OCP\Files\FileInfo[] $files list of files sorted by mtime | |
| 703 | 703 | * @param string $user | 
| 704 | 704 | * @return integer[] size of deleted files and number of deleted files | 
| 705 | 705 | */ | 
| @@ -80,7 +80,7 @@ | ||
| 80 | 80 | |
| 81 | 81 | /** | 
| 82 | 82 | * @param array $parameters | 
| 83 | - * @return int | |
| 83 | + * @return string | |
| 84 | 84 | */ | 
| 85 | 85 |  	protected function getPath($parameters) { | 
| 86 | 86 | $node = \OC::$server->getRootFolder() | 
| @@ -102,6 +102,9 @@ | ||
| 102 | 102 | return \OC_App::getAppVersions(); | 
| 103 | 103 | } | 
| 104 | 104 | |
| 105 | + /** | |
| 106 | + * @param string $appId | |
| 107 | + */ | |
| 105 | 108 |  	protected function getAppInfo($appId) { | 
| 106 | 109 | return \OC_App::getAppInfo($appId); | 
| 107 | 110 | } | 
| @@ -74,8 +74,6 @@ | ||
| 74 | 74 | /** | 
| 75 | 75 | * save the configuration value as provided | 
| 76 | 76 | * @param string $configID | 
| 77 | - * @param string $configKey | |
| 78 | - * @param string $configValue | |
| 79 | 77 | */ | 
| 80 | 78 |  	protected function setValue($configID, $key, $value) { | 
| 81 | 79 | $configHolder = new Configuration($configID); | 
| @@ -77,7 +77,7 @@ | ||
| 77 | 77 | } | 
| 78 | 78 | |
| 79 | 79 | /** | 
| 80 | - * @return int | |
| 80 | + * @return string | |
| 81 | 81 | */ | 
| 82 | 82 |  	static private function getRefreshInterval() { | 
| 83 | 83 | //defaults to every hour | 
| @@ -112,7 +112,7 @@ | ||
| 112 | 112 | * Looks up a system wide defined value | 
| 113 | 113 | * | 
| 114 | 114 | * @param string $key the key of the value, under which it was saved | 
| 115 | - * @param mixed $default the default value to be returned if the value isn't set | |
| 115 | + * @param string $default the default value to be returned if the value isn't set | |
| 116 | 116 | * @return mixed the value or $default | 
| 117 | 117 | */ | 
| 118 | 118 |  	public function getSystemValue($key, $default = '') { | 
| @@ -296,6 +296,9 @@ | ||
| 296 | 296 | } | 
| 297 | 297 | } | 
| 298 | 298 | |
| 299 | + /** | |
| 300 | + * @param string $name | |
| 301 | + */ | |
| 299 | 302 |  	private function buildReason($name, $errorCode) { | 
| 300 | 303 |  		if (isset($this->errorMessages[$errorCode])) { | 
| 301 | 304 | $desc = $this->list->getDescription($errorCode, $name); | 
| @@ -110,7 +110,7 @@ | ||
| 110 | 110 | |
| 111 | 111 | /** | 
| 112 | 112 | * Gets the correct header | 
| 113 | - * @param Http::CONSTANT $status the constant from the Http class | |
| 113 | + * @param integer $status the constant from the Http class | |
| 114 | 114 | * @param \DateTime $lastModified formatted last modified date | 
| 115 | 115 | * @param string $ETag the etag | 
| 116 | 116 | * @return string |