mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-01-23 04:48:41 +00:00
Implement php 7.4 type hints
This commit is contained in:
parent
e8e1bff28b
commit
e7afa197f0
|
|
@ -66,7 +66,7 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
* @var string[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static $providing = [];
|
||||
protected static array $providing = [];
|
||||
|
||||
/**
|
||||
* Dependencies.
|
||||
|
|
@ -74,5 +74,5 @@ class Controller extends ModuleAbstract implements WebInterface
|
|||
* @var string[]
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static $dependencies = [];
|
||||
protected static array $dependencies = [];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ class Invoice implements \JsonSerializable
|
|||
/**
|
||||
* Invoice created at.
|
||||
*
|
||||
* @var \DateTime
|
||||
* @var null|\DateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $createdAt = null;
|
||||
|
|
@ -64,7 +64,7 @@ class Invoice implements \JsonSerializable
|
|||
/**
|
||||
* Invoice send at.
|
||||
*
|
||||
* @var \DateTime
|
||||
* @var null|\DateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $send = null;
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ final class InvoiceMapper extends DataMapperAbstract
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static $primaryField = 'billing_invoice_id';
|
||||
protected static string $primaryField = 'billing_invoice_id';
|
||||
|
||||
/**
|
||||
* Primary table.
|
||||
|
|
@ -40,5 +40,5 @@ final class InvoiceMapper extends DataMapperAbstract
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected static $table = 'billing_invoice';
|
||||
protected static string $table = 'billing_invoice';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user