mirror of
https://github.com/Karaka-Management/oms-Auditor.git
synced 2026-02-07 17:58:40 +00:00
fix after change to php 7.4
This commit is contained in:
parent
9a4ce741ac
commit
a30fde531a
|
|
@ -32,7 +32,7 @@ class Audit
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $id = 0;
|
||||
private int $id = 0;
|
||||
|
||||
/**
|
||||
* Audit type.
|
||||
|
|
@ -40,7 +40,7 @@ class Audit
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $type = 0;
|
||||
private int $type = 0;
|
||||
|
||||
/**
|
||||
* Audit subtype.
|
||||
|
|
@ -48,7 +48,7 @@ class Audit
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $subtype = 0;
|
||||
private int $subtype = 0;
|
||||
|
||||
/**
|
||||
* Audit module.
|
||||
|
|
@ -108,7 +108,7 @@ class Audit
|
|||
* @var null|\DateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $createdAt = null;
|
||||
private ?\DateTime $createdAt = null;
|
||||
|
||||
/**
|
||||
* Ip of creator.
|
||||
|
|
@ -116,7 +116,7 @@ class Audit
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $ip = 0;
|
||||
private int $ip = 0;
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user