@@ -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 | { |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | /** |
258 | 258 | * Get real id (reference). |
259 | 259 | * |
260 | - * @return ObjectId |
|
260 | + * @return ObjectId|null |
|
261 | 261 | */ |
262 | 262 | public function getRealId(): ?ObjectId |
263 | 263 | { |
@@ -639,6 +639,7 @@ discard block |
||
639 | 639 | |
640 | 640 | /** |
641 | 641 | * Create new file as a child from this collection. |
642 | + * @param string $name |
|
642 | 643 | */ |
643 | 644 | public function addFile($name, ?ObjectId $session = null, array $attributes = [], int $conflict = NodeInterface::CONFLICT_NOACTION, bool $clone = false): File |
644 | 645 | { |
@@ -147,6 +147,7 @@ |
||
147 | 147 | |
148 | 148 | /** |
149 | 149 | * Store file. |
150 | + * @param string $adapter |
|
150 | 151 | */ |
151 | 152 | public function storeFile(File $file, ObjectId $session, ?string &$adapter = null) |
152 | 153 | { |
@@ -287,7 +287,7 @@ |
||
287 | 287 | * Load nodes by id. |
288 | 288 | * |
289 | 289 | * @param string $class Force check node type |
290 | - * @param bool $deleted |
|
290 | + * @param integer $deleted |
|
291 | 291 | */ |
292 | 292 | public function findNodesById(array $id = [], ?string $class = null, int $deleted = NodeInterface::DELETED_INCLUDE): Generator |
293 | 293 | { |
@@ -247,6 +247,7 @@ discard block |
||
247 | 247 | |
248 | 248 | /** |
249 | 249 | * temporary session. |
250 | + * @param resource|null $stream |
|
250 | 251 | */ |
251 | 252 | public function temporarySession($stream, ObjectId $session = null): ObjectId |
252 | 253 | { |
@@ -1093,6 +1094,7 @@ discard block |
||
1093 | 1094 | |
1094 | 1095 | /** |
1095 | 1096 | * Duplicate name with a uniqid within name. |
1097 | + * @param string $name |
|
1096 | 1098 | */ |
1097 | 1099 | protected function getDuplicateName(?string $name = null, ?string $class = null): string |
1098 | 1100 | { |