@@ -16,7 +16,6 @@ |
||
| 16 | 16 | use Balloon\Filesystem\Acl\Exception\Forbidden as ForbiddenException; |
| 17 | 17 | use Balloon\Filesystem\Exception; |
| 18 | 18 | use Balloon\Hook; |
| 19 | -use Balloon\Server\User; |
|
| 20 | 19 | use Generator; |
| 21 | 20 | use MongoDB\BSON\ObjectId; |
| 22 | 21 | use MongoDB\BSON\Regex; |
@@ -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 | { |
@@ -265,6 +265,8 @@ |
||
| 265 | 265 | /** |
| 266 | 266 | * Get resolved member. |
| 267 | 267 | * |
| 268 | + * @param integer $offset |
|
| 269 | + * @param integer $limit |
|
| 268 | 270 | * @return Generator |
| 269 | 271 | */ |
| 270 | 272 | public function getResolvedMembers(?int $offset = null, ?int $limit = null): ?Generator |
@@ -722,6 +722,8 @@ |
||
| 722 | 722 | /** |
| 723 | 723 | * Get resolved groups. |
| 724 | 724 | * |
| 725 | + * @param integer $offset |
|
| 726 | + * @param integer $limit |
|
| 725 | 727 | * @return Generator |
| 726 | 728 | */ |
| 727 | 729 | public function getResolvedGroups(?int $offset = null, ?int $limit = null): ?Generator |
@@ -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, |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | * Add decorator. |
| 87 | 87 | * |
| 88 | 88 | * |
| 89 | - * @return AttributeDecorator |
|
| 89 | + * @return NodeDecorator |
|
| 90 | 90 | */ |
| 91 | 91 | public function addDecorator(string $attribute, Closure $decorator): self |
| 92 | 92 | { |
@@ -73,7 +73,7 @@ |
||
| 73 | 73 | * Add decorator. |
| 74 | 74 | * |
| 75 | 75 | * |
| 76 | - * @return AttributeDecorator |
|
| 76 | + * @return RoleDecorator |
|
| 77 | 77 | */ |
| 78 | 78 | public function addDecorator(string $attribute, Closure $decorator): self |
| 79 | 79 | { |
@@ -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 | { |
@@ -1251,7 +1251,7 @@ discard block |
||
| 1251 | 1251 | * @param string $class Force set node type |
| 1252 | 1252 | * @param bool $multiple Allow $id to be an array |
| 1253 | 1253 | * @param bool $allow_root Allow instance of root collection |
| 1254 | - * @param bool $deleted How to handle deleted node |
|
| 1254 | + * @param integer $deleted How to handle deleted node |
|
| 1255 | 1255 | */ |
| 1256 | 1256 | protected function _getNode( |
| 1257 | 1257 | ?string $id = null, |
@@ -1283,7 +1283,7 @@ discard block |
||
| 1283 | 1283 | * @param string $id |
| 1284 | 1284 | * @param string $path |
| 1285 | 1285 | * @param string $class Force set node type |
| 1286 | - * @param bool $deleted How to handle deleted node |
|
| 1286 | + * @param integer $deleted How to handle deleted node |
|
| 1287 | 1287 | */ |
| 1288 | 1288 | protected function _getNodes( |
| 1289 | 1289 | $id = null, |
@@ -111,7 +111,7 @@ |
||
| 111 | 111 | * |
| 112 | 112 | * @param string $id |
| 113 | 113 | * @param string $p |
| 114 | - * @param string $version |
|
| 114 | + * @param integer $version |
|
| 115 | 115 | */ |
| 116 | 116 | public function postRestore(int $version, ?string $id = null, ?string $p = null): Response |
| 117 | 117 | { |