From 4f270676f458d34c27c204ea0dd204c6bf61b23b Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Tue, 1 Sep 2020 07:38:02 +0200 Subject: [PATCH] fix const alignment --- Models/AccountType.php | 6 +++--- Models/PermissionState.php | 14 +++++++------- Models/TimeRangeType.php | 6 +++--- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Models/AccountType.php b/Models/AccountType.php index 08ea8df..c642b9c 100644 --- a/Models/AccountType.php +++ b/Models/AccountType.php @@ -28,9 +28,9 @@ abstract class AccountType extends Enum { public const IMPERSONAL = 0; - public const PERSONAL = 1; + public const PERSONAL = 1; - public const CREDITOR = 2; + public const CREDITOR = 2; - public const DEBITOR = 4; + public const DEBITOR = 4; } diff --git a/Models/PermissionState.php b/Models/PermissionState.php index 583d7da..3bd6d85 100644 --- a/Models/PermissionState.php +++ b/Models/PermissionState.php @@ -26,21 +26,21 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class PermissionState extends Enum { - public const PERSONAL = 1; + public const PERSONAL = 1; - public const IMPERSONAL = 2; + public const IMPERSONAL = 2; - public const JOURNAL = 3; + public const JOURNAL = 3; - public const STACK = 4; + public const STACK = 4; - public const GL = 5; + public const GL = 5; public const COST_CENTER = 6; public const COST_OBJECT = 7; - public const ACCOUNT = 8; + public const ACCOUNT = 8; - public const ENTRY = 9; + public const ENTRY = 9; } diff --git a/Models/TimeRangeType.php b/Models/TimeRangeType.php index 84ea9f0..1e393be 100644 --- a/Models/TimeRangeType.php +++ b/Models/TimeRangeType.php @@ -26,11 +26,11 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class TimeRangeType extends Enum { - public const ENTRY_DATE = 0; /* Date of when the entry happened */ + public const ENTRY_DATE = 0; /* Date of when the entry happened */ - public const DUE_DATE = 1; /* Date of when the entry is due (only for invoices) */ + public const DUE_DATE = 1; /* Date of when the entry is due (only for invoices) */ - public const RECEIPT_DATE = 2; /* Date of the receipt */ + public const RECEIPT_DATE = 2; /* Date of the receipt */ public const ASSOCIATED_DATE = 3; /* Date of the association (e.g. when did the articles arrive) */ }