@@ -100,7 +100,7 @@ |
||
100 | 100 | * @param string $attribute |
101 | 101 | * @param Closure $decorator |
102 | 102 | * |
103 | - * @return AttributeDecorator |
|
103 | + * @return EventDecorator |
|
104 | 104 | */ |
105 | 105 | public function addDecorator(string $attribute, Closure $decorator): self |
106 | 106 | { |
@@ -96,7 +96,7 @@ |
||
96 | 96 | * @param string $attribute |
97 | 97 | * @param Closure $decorator |
98 | 98 | * |
99 | - * @return AttributeDecorator |
|
99 | + * @return NodeDecorator |
|
100 | 100 | */ |
101 | 101 | public function addDecorator(string $attribute, Closure $decorator): self |
102 | 102 | { |
@@ -80,7 +80,7 @@ |
||
80 | 80 | * @param string $attribute |
81 | 81 | * @param Closure $decorator |
82 | 82 | * |
83 | - * @return AttributeDecorator |
|
83 | + * @return RoleDecorator |
|
84 | 84 | */ |
85 | 85 | public function addDecorator(string $attribute, Closure $decorator): self |
86 | 86 | { |
@@ -357,8 +357,6 @@ |
||
357 | 357 | * "data": "user" |
358 | 358 | * } |
359 | 359 | * |
360 | - * @param string $uid |
|
361 | - * @param string $uname |
|
362 | 360 | * |
363 | 361 | * @return Response |
364 | 362 | */ |
@@ -159,8 +159,6 @@ |
||
159 | 159 | * "name": "peter.meier" |
160 | 160 | * } |
161 | 161 | * |
162 | - * @param string $id |
|
163 | - * @param string $uname |
|
164 | 162 | * |
165 | 163 | * @return Response |
166 | 164 | */ |
@@ -173,8 +173,6 @@ |
||
173 | 173 | * HTTP/1.1 204 No Content |
174 | 174 | * |
175 | 175 | * @param string $id |
176 | - * @param string $p |
|
177 | - * @param string $slave |
|
178 | 176 | * @param bool $node |
179 | 177 | */ |
180 | 178 | public function deleteSlaves(ObjectId $id, bool $node = false): Response |
@@ -114,7 +114,7 @@ |
||
114 | 114 | * |
115 | 115 | * @param ObjectId $id |
116 | 116 | * |
117 | - * @return array |
|
117 | + * @return File |
|
118 | 118 | */ |
119 | 119 | public function getSlave(ObjectId $id): array |
120 | 120 | { |
@@ -53,8 +53,6 @@ |
||
53 | 53 | /** |
54 | 54 | * Start job. |
55 | 55 | * |
56 | - * @param Server $server |
|
57 | - * @param LoggerInterface $logger |
|
58 | 56 | * |
59 | 57 | * @return bool |
60 | 58 | */ |
@@ -180,7 +180,7 @@ discard block |
||
180 | 180 | /** |
181 | 181 | * Find raw node. |
182 | 182 | * |
183 | - * @param ObjectId $id |
|
183 | + * @param ObjectId|null $id |
|
184 | 184 | * |
185 | 185 | * @return array |
186 | 186 | */ |
@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | * |
302 | 302 | * @param array $id |
303 | 303 | * @param string $class Force check node type |
304 | - * @param bool $deleted |
|
304 | + * @param integer $deleted |
|
305 | 305 | * |
306 | 306 | * @return Generator |
307 | 307 | */ |
@@ -421,7 +421,7 @@ discard block |
||
421 | 421 | * @param string $class Force set node type |
422 | 422 | * @param bool $multiple Allow $id to be an array |
423 | 423 | * @param bool $allow_root Allow instance of root collection |
424 | - * @param bool $deleted How to handle deleted node |
|
424 | + * @param integer $deleted How to handle deleted node |
|
425 | 425 | * |
426 | 426 | * @return NodeInterface |
427 | 427 | */ |