Skip to content

Conversation

@ArtificialOwl
Copy link
Member

fix last character of StorageConfig::MOUNT_TYPE_PERSONAl


protected function isApplicable(StorageConfig $config) {
return ($config->getApplicableUsers() === [$this->getUser()->getUID()]) && $config->getType() === StorageConfig::MOUNT_TYPE_PERSONAl;
return ($config->getApplicableUsers() === [$this->getUser()->getUID()]) && $config->getType() === StorageConfig::MOUNT_TYPE_PERSONAL;

Check notice

Code scanning / Psalm

PossiblyNullReference

Cannot call method getUID on possibly null value
*/
class DBConfigService {
public const MOUNT_TYPE_ADMIN = 1;
public const MOUNT_TYPE_PERSONAl = 2;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@icewind1991 should we merge or we keep both (DBConfigService and StorageConfig) definition ?

@solracsf solracsf added this to the Nextcloud 28 milestone Jul 13, 2023
@skjnldsv skjnldsv mentioned this pull request Nov 1, 2023
This was referenced Nov 6, 2023
This was referenced Nov 14, 2023
@blizzz blizzz modified the milestones: Nextcloud 28, Nextcloud 29 Nov 23, 2023
@skjnldsv skjnldsv force-pushed the fix/noid/full-upper-const branch from f264c4f to 9a7286c Compare February 23, 2024 20:54
@skjnldsv skjnldsv added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Feb 23, 2024
@github-actions

This comment was marked as resolved.

@skjnldsv skjnldsv force-pushed the fix/noid/full-upper-const branch from 9a7286c to 2f41b9c Compare February 24, 2024 10:33
@skjnldsv skjnldsv enabled auto-merge February 24, 2024 10:34
@skjnldsv skjnldsv merged commit be74c03 into master Feb 24, 2024
@skjnldsv skjnldsv deleted the fix/noid/full-upper-const branch February 24, 2024 12:13
@blizzz blizzz mentioned this pull request Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish technical debt

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants