@@ -140,6 +140,7 @@ |
||
140 | 140 | * @param int $headerSize |
141 | 141 | * @param bool $signed |
142 | 142 | * @param string $wrapper stream wrapper class |
143 | + * @param string $sourceFileOfRename |
|
143 | 144 | * @return resource |
144 | 145 | * |
145 | 146 | * @throws \BadMethodCallException |
@@ -90,7 +90,7 @@ |
||
90 | 90 | * |
91 | 91 | * @param string $path source path |
92 | 92 | * @param string $destination destination path |
93 | - * @return bool|void false to stop handling, void to skip this handler |
|
93 | + * @return null|false false to stop handling, void to skip this handler |
|
94 | 94 | */ |
95 | 95 | public function performMove($path, $destination) { |
96 | 96 | if (!$this->server->tree->nodeExists($destination)) { |
@@ -23,7 +23,6 @@ |
||
23 | 23 | namespace OCA\DAV\Upload; |
24 | 24 | |
25 | 25 | |
26 | -use OCA\DAV\Connector\Sabre\File; |
|
27 | 26 | use Sabre\DAV\Exception\BadRequest; |
28 | 27 | use Sabre\DAV\Server; |
29 | 28 | use Sabre\DAV\ServerPlugin; |
@@ -171,7 +171,7 @@ |
||
171 | 171 | * Returns an associative array with all translations |
172 | 172 | * |
173 | 173 | * Called by String |
174 | - * @return array |
|
174 | + * @return string[] |
|
175 | 175 | */ |
176 | 176 | public function getTranslations() { |
177 | 177 | return $this->translations; |
@@ -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\L10NString 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 | */ |