-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Fix files_sharing app LoadSidebar event #17821
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) <[email protected]>
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]> 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! 😭 |
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
49c30fe
to
5cb11ca
Compare
Tests passed 🚀 |
$mountProviderCollection->registerProvider($this->getContainer()->query('MountProvider')); | ||
$mountProviderCollection->registerProvider($this->getContainer()->query('ExternalMountProvider')); | ||
} | ||
|
||
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) [email protected]