-
-
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
full uppercase const #39276
full uppercase const #39276
Conversation
@@ -141,6 +140,6 @@ | |||
} | |||
|
|||
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 Note
@@ -37,7 +37,7 @@ | |||
*/ | |||
class DBConfigService { | |||
public const MOUNT_TYPE_ADMIN = 1; | |||
public const MOUNT_TYPE_PERSONAl = 2; |
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.
same here
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.
@icewind1991 should we merge or we keep both (DBConfigService
and StorageConfig
) definition ?
f264c4f
to
9a7286c
Compare
This comment was marked as resolved.
This comment was marked as resolved.
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
9a7286c
to
2f41b9c
Compare
fix last character of
StorageConfig::MOUNT_TYPE_PERSONAl