From 4ff9b1f93eb9074d009dd37623f140a19bfbb5ec Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 1 Sep 2020 07:38:03 +0200 Subject: [PATCH] fix const alignment --- Models/PathSettings.php | 4 ++-- Models/PermissionState.php | 2 +- Models/UploadStatus.php | 18 +++++++++--------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Models/PathSettings.php b/Models/PathSettings.php index 57cde7e..d4d91ce 100755 --- a/Models/PathSettings.php +++ b/Models/PathSettings.php @@ -26,9 +26,9 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class PathSettings extends Enum { - public const FILE_PATH = 1; + public const FILE_PATH = 1; - public const RANDOM_PATH = 2; + public const RANDOM_PATH = 2; public const COLLECTION_PATH = 3; } diff --git a/Models/PermissionState.php b/Models/PermissionState.php index 8959faa..0568b53 100755 --- a/Models/PermissionState.php +++ b/Models/PermissionState.php @@ -26,7 +26,7 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class PermissionState extends Enum { - public const MEDIA = 1; + public const MEDIA = 1; public const COLLECTION = 2; } diff --git a/Models/UploadStatus.php b/Models/UploadStatus.php index 2cc93d5..1985204 100755 --- a/Models/UploadStatus.php +++ b/Models/UploadStatus.php @@ -26,25 +26,25 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class UploadStatus extends Enum { - public const OK = 0; + public const OK = 0; public const WRONG_PARAMETERS = -1; public const NOTHING_UPLOADED = -2; - public const UPLOAD_SIZE = -3; + public const UPLOAD_SIZE = -3; - public const UNKNOWN_ERROR = -4; + public const UNKNOWN_ERROR = -4; - public const CONFIG_SIZE = -5; + public const CONFIG_SIZE = -5; - public const WRONG_EXTENSION = -6; + public const WRONG_EXTENSION = -6; - public const NOT_UPLOADED = -7; + public const NOT_UPLOADED = -7; - public const NOT_MOVABLE = -8; + public const NOT_MOVABLE = -8; - public const FAILED_HASHING = -9; + public const FAILED_HASHING = -9; - public const NOT_ENCRYPTABLE = -10; + public const NOT_ENCRYPTABLE = -10; }