Skip to content

[stable26] files_external: getStorage before remove#39360

Closed
backportbot-nextcloud[bot] wants to merge 1 commit intostable26from
backport/39323/stable26
Closed

[stable26] files_external: getStorage before remove#39360
backportbot-nextcloud[bot] wants to merge 1 commit intostable26from
backport/39323/stable26

Conversation

@backportbot-nextcloud
Copy link

Backport of #39323

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
@AndyScherzinger AndyScherzinger requested a review from blizzz July 13, 2023 12:14
@AndyScherzinger AndyScherzinger deleted the backport/39323/stable26 branch July 13, 2023 12:16
return ($config->getApplicableUsers() === [$this->getUser()->getUID()]) && $config->getType() === StorageConfig::MOUNT_TYPE_PERSONAl;
}

public function removeStorage($id) {

Check notice

Code scanning / Psalm

MissingReturnType

Method OCA\Files_External\Service\UserStoragesService::removeStorage does not have a return type, expecting void
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants