From 1a5b545fe82ff4d21aac57762ae4a2a3082a0b11 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Mon, 10 Jul 2023 12:31:47 -0100 Subject: full uppercase const Signed-off-by: Maxence Lange --- apps/files_external/lib/Lib/StorageConfig.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/files_external/lib/Lib') 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; } -- cgit v1.2.3