feat(SystemTag): Add typed events for tag mapper events#54810
Conversation
d408934 to
88913f7
Compare
| } | ||
|
|
||
| /** | ||
| * @return array |
There was a problem hiding this comment.
Return type annotation is useless if not more specific than the strict types.
So it can either be removed or use proper type:
| * @return array | |
| * @return array{'objectType': string, 'objectId': string, 'tagIds': int[] } |
There was a problem hiding this comment.
mh. psalm doesn't like this
There was a problem hiding this comment.
Maybe the quoting is wrong / not needed, see https://psalm.dev/docs/annotating_code/type_syntax/array_types/#array-shapes
There was a problem hiding this comment.
Now it seems to work. Not sure what was the problem.
b4b89fa to
9fc78f0
Compare
9fc78f0 to
f2e121f
Compare
f2e121f to
b924df6
Compare
b924df6 to
3192567
Compare
Signed-off-by: Marcel Klehr <[email protected]>
3192567 to
2bb2fa5
Compare
provokateurin
left a comment
There was a problem hiding this comment.
Could also use constructor property promotion, but I don't want to force you to do another round 🙈 Sorry for the back and forth 😞
|
please do not forget the tags :) |
|
/backport to stable32 |
Summary
This adds typed events for tag mapper events that are also exposed via webhooks.
Checklist