@@ -37,7 +37,6 @@ |
||
37 | 37 | use Symfony\Component\Console\Input\InputInterface; |
38 | 38 | use Symfony\Component\Console\Input\InputOption; |
39 | 39 | use Symfony\Component\Console\Output\OutputInterface; |
40 | -use Symfony\Component\Console\Output\ConsoleOutputInterface; |
|
41 | 40 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
42 | 41 | |
43 | 42 | class Application { |
@@ -31,7 +31,6 @@ |
||
31 | 31 | use OC\Files\Filesystem; |
32 | 32 | use OC\Files\View; |
33 | 33 | use OCP\Encryption\IEncryptionModule; |
34 | -use OCP\Files\Storage; |
|
35 | 34 | use OCP\IConfig; |
36 | 35 | use OCP\IUser; |
37 | 36 |
@@ -64,8 +64,8 @@ discard block |
||
64 | 64 | |
65 | 65 | |
66 | 66 | /** |
67 | - * @param $source |
|
68 | - * @param $path |
|
67 | + * @param resource $source |
|
68 | + * @param string $path |
|
69 | 69 | * @return resource |
70 | 70 | */ |
71 | 71 | public static function wrap($source, $path) { |
@@ -126,6 +126,9 @@ discard block |
||
126 | 126 | return parent::stream_write($data); |
127 | 127 | } |
128 | 128 | |
129 | + /** |
|
130 | + * @param string $data |
|
131 | + */ |
|
129 | 132 | private function updateHashingContexts($data) { |
130 | 133 | foreach ($this->hashingContexts as $ctx) { |
131 | 134 | hash_update($ctx, $data); |
@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | * Creates a Folder that represents a non-existing path |
38 | 38 | * |
39 | 39 | * @param string $path path |
40 | - * @return string non-existing node class |
|
40 | + * @return NonExistingFolder non-existing node class |
|
41 | 41 | */ |
42 | 42 | protected function createNonExistingNode($path) { |
43 | 43 | return new NonExistingFolder($this->root, $this->view, $path); |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | * Get the node at $path |
125 | 125 | * |
126 | 126 | * @param string $path |
127 | - * @return \OC\Files\Node\Node |
|
127 | + * @return string |
|
128 | 128 | * @throws \OCP\Files\NotFoundException |
129 | 129 | */ |
130 | 130 | public function get($path) { |
@@ -263,7 +263,7 @@ discard block |
||
263 | 263 | } |
264 | 264 | |
265 | 265 | /** |
266 | - * @return Node |
|
266 | + * @return string |
|
267 | 267 | */ |
268 | 268 | public function getParent() { |
269 | 269 | return $this->root->get(dirname($this->path)); |
@@ -379,7 +379,7 @@ discard block |
||
379 | 379 | /** |
380 | 380 | * @param string $targetPath |
381 | 381 | * @throws \OCP\Files\NotPermittedException if copy not allowed or failed |
382 | - * @return \OC\Files\Node\Node |
|
382 | + * @return string |
|
383 | 383 | */ |
384 | 384 | public function copy($targetPath) { |
385 | 385 | $targetPath = $this->normalizePath($targetPath); |
@@ -403,7 +403,7 @@ discard block |
||
403 | 403 | /** |
404 | 404 | * @param string $targetPath |
405 | 405 | * @throws \OCP\Files\NotPermittedException if move not allowed or failed |
406 | - * @return \OC\Files\Node\Node |
|
406 | + * @return string |
|
407 | 407 | */ |
408 | 408 | public function move($targetPath) { |
409 | 409 | $targetPath = $this->normalizePath($targetPath); |
@@ -68,7 +68,6 @@ |
||
68 | 68 | /** |
69 | 69 | * @param \Sabre\DAV\Tree $tree tree |
70 | 70 | * @param IUserSession $userSession user session |
71 | - * @param \OCP\Files\Folder $userFolder user home folder |
|
72 | 71 | * @param \OCP\Share\IManager $shareManager share manager |
73 | 72 | */ |
74 | 73 | public function __construct( |
@@ -74,7 +74,6 @@ |
||
74 | 74 | * if requested. |
75 | 75 | * |
76 | 76 | * @param PropFind $propFind |
77 | - * @param \Sabre\DAV\INode $node |
|
78 | 77 | * @return void |
79 | 78 | */ |
80 | 79 | public function handleGetProperties( |