@@ -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 | */ |
@@ -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 | */ |