@@ -96,7 +96,7 @@ |
||
| 96 | 96 | |
| 97 | 97 | /** |
| 98 | 98 | * Reads a file portion by portion until the very end |
| 99 | - * @return string|boolean |
|
| 99 | + * @return false|string |
|
| 100 | 100 | */ |
| 101 | 101 | public function fread() { |
| 102 | 102 | if (!$this->isValid()) { |
@@ -15,7 +15,6 @@ |
||
| 15 | 15 | use OCP\App; |
| 16 | 16 | use OCP\AppFramework\Db\DoesNotExistException; |
| 17 | 17 | use OCP\Files\File; |
| 18 | -use OCP\IL10N; |
|
| 19 | 18 | use OCP\ILogger; |
| 20 | 19 | |
| 21 | 20 | class Item { |
@@ -172,7 +172,7 @@ |
||
| 172 | 172 | } |
| 173 | 173 | |
| 174 | 174 | /** |
| 175 | - * @param $data |
|
| 175 | + * @param string $data |
|
| 176 | 176 | * @return bool |
| 177 | 177 | */ |
| 178 | 178 | protected function writeRaw($data){ |