mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-02-06 19:48:40 +00:00
phpcs fix
This commit is contained in:
parent
f75d6e1d71
commit
a29f3dad1f
|
|
@ -30,7 +30,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Module path.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODULE_PATH = __DIR__ . '/../';
|
||||
|
|
@ -38,7 +38,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Module version.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODULE_VERSION = '1.0.0';
|
||||
|
|
@ -46,7 +46,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Module name.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODULE_NAME = 'Billing';
|
||||
|
|
@ -54,7 +54,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Module id.
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
public const MODULE_ID = 1005100000;
|
||||
|
|
@ -62,7 +62,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Providing.
|
||||
*
|
||||
* @var string[]
|
||||
* @var string[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $providing = [];
|
||||
|
|
@ -70,7 +70,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
/**
|
||||
* Dependencies.
|
||||
*
|
||||
* @var string[]
|
||||
* @var string[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static array $dependencies = [];
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ class Invoice implements \JsonSerializable
|
|||
/**
|
||||
* ID.
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected int $id = 0;
|
||||
|
|
@ -38,7 +38,7 @@ class Invoice implements \JsonSerializable
|
|||
/**
|
||||
* Number ID.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private string $number = '';
|
||||
|
|
@ -46,7 +46,7 @@ class Invoice implements \JsonSerializable
|
|||
/**
|
||||
* Invoice type.
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private int $type = InvoiceType::BILL;
|
||||
|
|
@ -54,7 +54,7 @@ class Invoice implements \JsonSerializable
|
|||
/**
|
||||
* Invoice status.
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private int $status = InvoiceStatus::DRAFT;
|
||||
|
|
@ -62,7 +62,7 @@ class Invoice implements \JsonSerializable
|
|||
/**
|
||||
* Invoice created at.
|
||||
*
|
||||
* @var null|\DateTime
|
||||
* @var null|\DateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private ?\DateTime $createdAt = null;
|
||||
|
|
@ -70,7 +70,7 @@ class Invoice implements \JsonSerializable
|
|||
/**
|
||||
* Invoice send at.
|
||||
*
|
||||
* @var null|\DateTime
|
||||
* @var null|\DateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private ?\DateTime $send = null;
|
||||
|
|
@ -106,7 +106,7 @@ class Invoice implements \JsonSerializable
|
|||
/**
|
||||
* Person refering for this order.
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private int $referer = 0;
|
||||
|
|
@ -148,7 +148,7 @@ class Invoice implements \JsonSerializable
|
|||
/**
|
||||
* Reference to other invoice (delivery note/credit note etc).
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private int $reference = 0;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ class InvoiceElement implements \JsonSerializable
|
|||
/**
|
||||
* ID.
|
||||
*
|
||||
* @var int
|
||||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected int $id = 0;
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ final class InvoiceMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Primary field name.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static string $primaryField = 'billing_invoice_id';
|
||||
|
|
@ -37,7 +37,7 @@ final class InvoiceMapper extends DataMapperAbstract
|
|||
/**
|
||||
* Primary table.
|
||||
*
|
||||
* @var string
|
||||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static string $table = 'billing_invoice';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user