From f57808314c71eee0f4c3150e35d10ea7770c7135 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sat, 3 Feb 2018 13:09:09 +0100 Subject: [PATCH] phpcbf --- Admin/Update.php | 1 - Models/Invoice.php | 8 ++++---- Models/InvoiceElement.php | 2 +- Models/InvoiceStatus.php | 10 +++++----- Models/InvoiceType.php | 10 +++++----- 5 files changed, 15 insertions(+), 16 deletions(-) diff --git a/Admin/Update.php b/Admin/Update.php index 66743d5..54dbd04 100644 --- a/Admin/Update.php +++ b/Admin/Update.php @@ -19,7 +19,6 @@ use phpOMS\Module\UpdateAbstract; use phpOMS\System\File\Directory; use phpOMS\Module\InfoManager; - /** * Navigation class. * diff --git a/Models/Invoice.php b/Models/Invoice.php index 4b8c0e9..5d78b36 100644 --- a/Models/Invoice.php +++ b/Models/Invoice.php @@ -149,9 +149,9 @@ class Invoice implements \JsonSerializable public function __construct() { $this->insurance = new Money(); - $this->freight = new Money(); - $this->net = new Money(); - $this->gross = new Money(); + $this->freight = new Money(); + $this->net = new Money(); + $this->gross = new Money(); $this->createdAt = new \DateTime(); } @@ -520,4 +520,4 @@ class Invoice implements \JsonSerializable { } -} \ No newline at end of file +} diff --git a/Models/InvoiceElement.php b/Models/InvoiceElement.php index d06fd7d..5c14a4c 100644 --- a/Models/InvoiceElement.php +++ b/Models/InvoiceElement.php @@ -277,4 +277,4 @@ class InvoiceElement implements \JsonSerializable { } -} \ No newline at end of file +} diff --git a/Models/InvoiceStatus.php b/Models/InvoiceStatus.php index cff0fe0..9fd98ed 100644 --- a/Models/InvoiceStatus.php +++ b/Models/InvoiceStatus.php @@ -26,9 +26,9 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class InvoiceStatus extends Enum { - /* public */ const ACTIVE = 1; - /* public */ const ARCHIVED = 2; - /* public */ const DELETED = 4; - /* public */ const DONE = 8; - /* public */ const DRAFT = 16; + /* public */ const ACTIVE = 1; + /* public */ const ARCHIVED = 2; + /* public */ const DELETED = 4; + /* public */ const DONE = 8; + /* public */ const DRAFT = 16; } diff --git a/Models/InvoiceType.php b/Models/InvoiceType.php index d3f8c12..2a1b5cf 100644 --- a/Models/InvoiceType.php +++ b/Models/InvoiceType.php @@ -26,10 +26,10 @@ use phpOMS\Stdlib\Base\Enum; */ abstract class InvoiceType extends Enum { - /* public */ const BILL = 1; - /* public */ const DELIVERY_NOTE = 2; - /* public */ const CREDIT_NOTE = 3; - /* public */ const DEBIT_NOTE = 4; - /* public */ const OFFER = 5; + /* public */ const BILL = 1; + /* public */ const DELIVERY_NOTE = 2; + /* public */ const CREDIT_NOTE = 3; + /* public */ const DEBIT_NOTE = 4; + /* public */ const OFFER = 5; /* public */ const ORDER_CONFIRMATION = 6; }