@@ -35,7 +35,6 @@ |
||
| 35 | 35 | /** |
| 36 | 36 | * Constructor. |
| 37 | 37 | * |
| 38 | - * @param App $app |
|
| 39 | 38 | * @param Server $server |
| 40 | 39 | */ |
| 41 | 40 | public function __construct(PreviewCreator $preview, Server $server) |
@@ -31,8 +31,6 @@ |
||
| 31 | 31 | /** |
| 32 | 32 | * Constructor. |
| 33 | 33 | * |
| 34 | - * @param Router $router |
|
| 35 | - * @param Hook $hook |
|
| 36 | 34 | */ |
| 37 | 35 | public function __construct(Database $db, LoggerInterface $logger, Converter $converter) |
| 38 | 36 | { |
@@ -32,8 +32,7 @@ |
||
| 32 | 32 | * Create result. |
| 33 | 33 | * |
| 34 | 34 | * @param string $path |
| 35 | - * @param resource $stream |
|
| 36 | - * @param null|mixed $resource |
|
| 35 | + * @param resource $resource |
|
| 37 | 36 | */ |
| 38 | 37 | public function __construct(string $path, $resource = null) |
| 39 | 38 | { |
@@ -29,7 +29,6 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Delete file. |
| 31 | 31 | * |
| 32 | - * @param string $id |
|
| 33 | 32 | * @param array $attributes |
| 34 | 33 | * |
| 35 | 34 | * @return bool |
@@ -694,7 +694,7 @@ discard block |
||
| 694 | 694 | * @param string $path |
| 695 | 695 | * @param bool $new |
| 696 | 696 | * |
| 697 | - * @return bool |
|
| 697 | + * @return string |
|
| 698 | 698 | */ |
| 699 | 699 | protected function verifyFile(?string $path, bool $new = false): string |
| 700 | 700 | { |
@@ -827,7 +827,7 @@ discard block |
||
| 827 | 827 | /** |
| 828 | 828 | * Finalize put request. |
| 829 | 829 | * |
| 830 | - * @param resource|string $file |
|
| 830 | + * @param string|null $file |
|
| 831 | 831 | * @param bool $new |
| 832 | 832 | * @param array $attributes |
| 833 | 833 | * |
@@ -108,14 +108,13 @@ |
||
| 108 | 108 | * |
| 109 | 109 | * @param bool $reference |
| 110 | 110 | * |
| 111 | - * @return ObjectId |
|
| 111 | + * @return ObjectId|null |
|
| 112 | 112 | */ |
| 113 | 113 | public function getShareId(bool $reference = false): ?ObjectId; |
| 114 | 114 | |
| 115 | 115 | /** |
| 116 | 116 | * Get share node. |
| 117 | 117 | * |
| 118 | - * @param bool $reference |
|
| 119 | 118 | * |
| 120 | 119 | * @return Collection |
| 121 | 120 | */ |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | * |
| 61 | 61 | * @param Server $server |
| 62 | 62 | * @param Acl $acl |
| 63 | - * @param Decorator $role_decorator |
|
| 63 | + * @param RoleAttributeDecorator $role_decorator |
|
| 64 | 64 | */ |
| 65 | 65 | public function __construct(Server $server, Acl $acl, RoleAttributeDecorator $role_decorator) |
| 66 | 66 | { |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | * |
| 108 | 108 | * @param string $id |
| 109 | 109 | * @param string $p |
| 110 | - * @param string $version |
|
| 110 | + * @param integer $version |
|
| 111 | 111 | * |
| 112 | 112 | * @return Response |
| 113 | 113 | */ |
@@ -282,7 +282,7 @@ discard block |
||
| 282 | 282 | * @param array|string $id |
| 283 | 283 | * @param array|string $p |
| 284 | 284 | * @param int $offset |
| 285 | - * @param int $legnth |
|
| 285 | + * @param int $length |
|
| 286 | 286 | * @param string $encode |
| 287 | 287 | * @param bool $download |
| 288 | 288 | * @param string $name |
@@ -1420,7 +1420,7 @@ discard block |
||
| 1420 | 1420 | * @param string $class Force set node type |
| 1421 | 1421 | * @param bool $multiple Allow $id to be an array |
| 1422 | 1422 | * @param bool $allow_root Allow instance of root collection |
| 1423 | - * @param bool $deleted How to handle deleted node |
|
| 1423 | + * @param integer $deleted How to handle deleted node |
|
| 1424 | 1424 | * |
| 1425 | 1425 | * @return NodeInterface |
| 1426 | 1426 | */ |
@@ -1454,7 +1454,7 @@ discard block |
||
| 1454 | 1454 | * @param string $id |
| 1455 | 1455 | * @param string $path |
| 1456 | 1456 | * @param string $class Force set node type |
| 1457 | - * @param bool $deleted How to handle deleted node |
|
| 1457 | + * @param integer $deleted How to handle deleted node |
|
| 1458 | 1458 | * |
| 1459 | 1459 | * @return Generator |
| 1460 | 1460 | */ |