fix const alignment

This commit is contained in:
Dennis Eichhorn 2020-09-01 07:38:03 +02:00
parent 8e71697920
commit 4ff9b1f93e
3 changed files with 12 additions and 12 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}