@@ -1044,6 +1044,7 @@ |
||
| 1044 | 1044 | |
| 1045 | 1045 | /** |
| 1046 | 1046 | * Duplicate name with a uniqid within name. |
| 1047 | + * @param string $name |
|
| 1047 | 1048 | */ |
| 1048 | 1049 | protected function getDuplicateName(?string $name = null, ?string $class = null): string |
| 1049 | 1050 | { |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | /** |
| 59 | 59 | * Init. |
| 60 | 60 | * |
| 61 | - * @param Decorator $role_decorator |
|
| 61 | + * @param RoleAttributeDecorator $role_decorator |
|
| 62 | 62 | */ |
| 63 | 63 | public function __construct(Server $server, Acl $acl, RoleAttributeDecorator $role_decorator) |
| 64 | 64 | { |
@@ -255,7 +255,7 @@ discard block |
||
| 255 | 255 | /** |
| 256 | 256 | * Get real id (reference). |
| 257 | 257 | * |
| 258 | - * @return ObjectId |
|
| 258 | + * @return ObjectId|null |
|
| 259 | 259 | */ |
| 260 | 260 | public function getRealId(): ?ObjectId |
| 261 | 261 | { |
@@ -752,7 +752,7 @@ discard block |
||
| 752 | 752 | * @param string $name |
| 753 | 753 | * @param string $data |
| 754 | 754 | * |
| 755 | - * @return File |
|
| 755 | + * @return string |
|
| 756 | 756 | */ |
| 757 | 757 | public function createFile($name, $data = null): String |
| 758 | 758 | { |
@@ -628,7 +628,7 @@ discard block |
||
| 628 | 628 | * |
| 629 | 629 | * @param string $path |
| 630 | 630 | * |
| 631 | - * @return bool |
|
| 631 | + * @return string |
|
| 632 | 632 | */ |
| 633 | 633 | protected function verifyFile(?string $path, bool $new = false): string |
| 634 | 634 | { |
@@ -762,7 +762,7 @@ discard block |
||
| 762 | 762 | /** |
| 763 | 763 | * Finalize put request. |
| 764 | 764 | * |
| 765 | - * @param resource|string $file |
|
| 765 | + * @param string|null $file |
|
| 766 | 766 | * |
| 767 | 767 | * @return File |
| 768 | 768 | */ |
@@ -195,6 +195,7 @@ |
||
| 195 | 195 | |
| 196 | 196 | /** |
| 197 | 197 | * Filesystem factory. |
| 198 | + * @param User $user |
|
| 198 | 199 | */ |
| 199 | 200 | public function getFilesystem(?User $user = null): Filesystem |
| 200 | 201 | { |
@@ -210,7 +210,7 @@ discard block |
||
| 210 | 210 | * @param string $class Force set node type |
| 211 | 211 | * @param bool $multiple Allow $id to be an array |
| 212 | 212 | * @param bool $allow_root Allow instance of root collection |
| 213 | - * @param bool $deleted How to handle deleted node |
|
| 213 | + * @param integer $deleted How to handle deleted node |
|
| 214 | 214 | */ |
| 215 | 215 | protected function _getNode( |
| 216 | 216 | ?string $id = null, |
@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | * @param string $id |
| 243 | 243 | * @param string $path |
| 244 | 244 | * @param string $class Force set node type |
| 245 | - * @param bool $deleted How to handle deleted node |
|
| 245 | + * @param integer $deleted How to handle deleted node |
|
| 246 | 246 | */ |
| 247 | 247 | protected function _getNodes( |
| 248 | 248 | $id = null, |
@@ -115,7 +115,7 @@ |
||
| 115 | 115 | * |
| 116 | 116 | * @param string $id |
| 117 | 117 | * @param string $p |
| 118 | - * @param string $version |
|
| 118 | + * @param integer $version |
|
| 119 | 119 | */ |
| 120 | 120 | public function postRestore(int $version, ?string $id = null, ?string $p = null): Response |
| 121 | 121 | { |