diff options
author | Maxence Lange <maxence@artificial-owl.com> | 2023-07-10 12:31:47 -0100 |
---|---|---|
committer | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2024-02-24 11:33:44 +0100 |
commit | 1a5b545fe82ff4d21aac57762ae4a2a3082a0b11 (patch) | |
tree | 3d10ef6ed09eb6945ee829fcb051c8110ee30bfc /apps/files_external/lib/Lib | |
parent | 3343626183a90412dfd4104f47e94b76e72710f0 (diff) | |
download | nextcloud-server-1a5b545fe82ff4d21aac57762ae4a2a3082a0b11.tar.gz nextcloud-server-1a5b545fe82ff4d21aac57762ae4a2a3082a0b11.zip |
full uppercase const
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'apps/files_external/lib/Lib')
-rw-r--r-- | apps/files_external/lib/Lib/StorageConfig.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/files_external/lib/Lib/StorageConfig.php b/apps/files_external/lib/Lib/StorageConfig.php index 9e89e8fcc99..fd7f8238200 100644 --- a/apps/files_external/lib/Lib/StorageConfig.php +++ b/apps/files_external/lib/Lib/StorageConfig.php @@ -40,7 +40,7 @@ use OCA\Files_External\ResponseDefinitions; */ class StorageConfig implements \JsonSerializable { public const MOUNT_TYPE_ADMIN = 1; - public const MOUNT_TYPE_PERSONAl = 2; + public const MOUNT_TYPE_PERSONAL = 2; /** * Storage config id @@ -384,14 +384,14 @@ class StorageConfig implements \JsonSerializable { } /** - * @return int self::MOUNT_TYPE_ADMIN or self::MOUNT_TYPE_PERSONAl + * @return int self::MOUNT_TYPE_ADMIN or self::MOUNT_TYPE_PERSONAL */ public function getType() { return $this->type; } /** - * @param int $type self::MOUNT_TYPE_ADMIN or self::MOUNT_TYPE_PERSONAl + * @param int $type self::MOUNT_TYPE_ADMIN or self::MOUNT_TYPE_PERSONAL */ public function setType($type) { $this->type = $type; @@ -435,7 +435,7 @@ class StorageConfig implements \JsonSerializable { $result['statusMessage'] = $this->statusMessage; } $result['userProvided'] = $this->authMechanism instanceof IUserProvided; - $result['type'] = ($this->getType() === self::MOUNT_TYPE_PERSONAl) ? 'personal': 'system'; + $result['type'] = ($this->getType() === self::MOUNT_TYPE_PERSONAL) ? 'personal': 'system'; return $result; } |