mirror of
https://github.com/Karaka-Management/oms-Billing.git
synced 2026-02-11 22:08:42 +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[]
|
* @var string[]
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static $providing = [];
|
protected static array $providing = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Dependencies.
|
* Dependencies.
|
||||||
|
|
@ -74,5 +74,5 @@ class Controller extends ModuleAbstract implements WebInterface
|
||||||
* @var string[]
|
* @var string[]
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static $dependencies = [];
|
protected static array $dependencies = [];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -56,7 +56,7 @@ class Invoice implements \JsonSerializable
|
||||||
/**
|
/**
|
||||||
* Invoice created at.
|
* Invoice created at.
|
||||||
*
|
*
|
||||||
* @var \DateTime
|
* @var null|\DateTime
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $createdAt = null;
|
private $createdAt = null;
|
||||||
|
|
@ -64,7 +64,7 @@ class Invoice implements \JsonSerializable
|
||||||
/**
|
/**
|
||||||
* Invoice send at.
|
* Invoice send at.
|
||||||
*
|
*
|
||||||
* @var \DateTime
|
* @var null|\DateTime
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $send = null;
|
private $send = null;
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,7 @@ final class InvoiceMapper extends DataMapperAbstract
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static $primaryField = 'billing_invoice_id';
|
protected static string $primaryField = 'billing_invoice_id';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Primary table.
|
* Primary table.
|
||||||
|
|
@ -40,5 +40,5 @@ final class InvoiceMapper extends DataMapperAbstract
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected static $table = 'billing_invoice';
|
protected static string $table = 'billing_invoice';
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user