-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Fix files_sharing app LoadSidebar event #17821
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
c056730 to
a1dbd95
Compare
a1dbd95 to
8740a64
Compare
|
All fixed! Please review! :) |
8740a64 to
2ab558c
Compare
|
/compile amend / |
2ab558c to
57694dd
Compare
57694dd to
72a6fd0
Compare
75be168 to
59aee2f
Compare
This comment has been minimized.
This comment has been minimized.
10507be to
849f43f
Compare
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
849f43f to
a09203e
Compare
This comment has been minimized.
This comment has been minimized.
a09203e to
55c1ead
Compare
This comment has been minimized.
This comment has been minimized.
55c1ead to
a571192
Compare
a571192 to
b7aebb5
Compare
5e8cc6e to
49c30fe
Compare
|
Hopefully lasts fixes for tests to pass! 😭 |
49c30fe to
5cb11ca
Compare
|
Tests passed 🚀 |
|
|
||
| public function register(): void { | ||
| $dispatcher = $this->getContainer()->getServer()->getEventDispatcher(); | ||
| protected function registerEventsScripts(IEventDispatcher $dispatcher) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is where we broke the dispatch of addListener in line 214, where GenericEvent is type hinted in the callback, right @rullzer? That's what Psalm found in https://github.com/nextcloud/server/pull/23742/files#diff-f24715432b9a8ad98f1ff9c441096d8afd1ed1bcfb43f04a04ad2894e050e2a8R156
Nice catch by psalm I would say - cc @ChristophWurst @kesselb
Signed-off-by: John Molakvoæ (skjnldsv) skjnldsv@protonmail.com