@@ -50,7 +50,6 @@ |
||
| 50 | 50 | /** |
| 51 | 51 | * Constructor. |
| 52 | 52 | * |
| 53 | - * @param App $app |
|
| 54 | 53 | * @param Async $async |
| 55 | 54 | * @param LoggerInterface $logger |
| 56 | 55 | * @param GetOpt $getopt |
@@ -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 | */ |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | /** |
| 56 | 56 | * Constructor. |
| 57 | 57 | * |
| 58 | - * @param Notification $notifier |
|
| 58 | + * @param Notifier $notifier |
|
| 59 | 59 | * @param Server $server |
| 60 | 60 | */ |
| 61 | 61 | public function __construct(Notifier $notifier, Server $server, LoggerInterface $logger, TemplateHandler $template) |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | * @param NodeInterface $node |
| 130 | 130 | * @param User $user |
| 131 | 131 | * |
| 132 | - * @return string |
|
| 132 | + * @return boolean |
|
| 133 | 133 | */ |
| 134 | 134 | protected function checkNotify(NodeInterface $node, User $user): bool |
| 135 | 135 | { |
@@ -64,7 +64,7 @@ |
||
| 64 | 64 | /** |
| 65 | 65 | * Constructor. |
| 66 | 66 | * |
| 67 | - * @param Notification $notifier |
|
| 67 | + * @param Notifier $notifier |
|
| 68 | 68 | * @param Server $server |
| 69 | 69 | */ |
| 70 | 70 | public function __construct(Notifier $notifier, Server $server, TemplateHandler $template, LoggerInterface $logger, ?Iterable $config = null) |
@@ -218,8 +218,6 @@ discard block |
||
| 218 | 218 | /** |
| 219 | 219 | * Replace variables. |
| 220 | 220 | * |
| 221 | - * @param string $type |
|
| 222 | - * @param User $user |
|
| 223 | 221 | */ |
| 224 | 222 | protected function decorate(string $template): string |
| 225 | 223 | { |
@@ -229,8 +227,6 @@ discard block |
||
| 229 | 227 | /** |
| 230 | 228 | * Replace variables. |
| 231 | 229 | * |
| 232 | - * @param string $type |
|
| 233 | - * @param User $user |
|
| 234 | 230 | */ |
| 235 | 231 | protected function decorateNode(string $template, NodeInterface $node): string |
| 236 | 232 | { |
@@ -248,7 +244,6 @@ discard block |
||
| 248 | 244 | /** |
| 249 | 245 | * Replace variables. |
| 250 | 246 | * |
| 251 | - * @param string $type |
|
| 252 | 247 | * @param User $user |
| 253 | 248 | */ |
| 254 | 249 | protected function decorateUser(string $template, User $user): string |
@@ -267,9 +262,9 @@ discard block |
||
| 267 | 262 | /** |
| 268 | 263 | * Get array value via string path. |
| 269 | 264 | * |
| 270 | - * @param iterable $arr |
|
| 265 | + * @param iterable $array |
|
| 271 | 266 | * @param string $path |
| 272 | - * @param string $seperator |
|
| 267 | + * @param string $separator |
|
| 273 | 268 | * |
| 274 | 269 | * @return mixed |
| 275 | 270 | */ |
@@ -100,7 +100,7 @@ |
||
| 100 | 100 | * @param string $attribute |
| 101 | 101 | * @param Closure $decorator |
| 102 | 102 | * |
| 103 | - * @return AttributeDecorator |
|
| 103 | + * @return EventAttributeDecorator |
|
| 104 | 104 | */ |
| 105 | 105 | public function addDecorator(string $attribute, Closure $decorator): self |
| 106 | 106 | { |
@@ -44,7 +44,6 @@ |
||
| 44 | 44 | /** |
| 45 | 45 | * Inject hook. |
| 46 | 46 | * |
| 47 | - * @param HookInterface $adapter |
|
| 48 | 47 | * |
| 49 | 48 | * @return Hook |
| 50 | 49 | */ |