mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-02-02 03:08:40 +00:00
fix after change to php 7.4
This commit is contained in:
parent
58a4c1ac35
commit
0b8b52ee7d
|
|
@ -31,7 +31,7 @@ final class GSDCostCenter implements \JsonSerializable
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $id = 0;
|
||||
protected int $id = 0;
|
||||
|
||||
/**
|
||||
* Creator.
|
||||
|
|
@ -47,7 +47,7 @@ final class GSDCostCenter implements \JsonSerializable
|
|||
* @var null|\DateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $createdAt = null;
|
||||
protected ?\DateTime $createdAt = null;
|
||||
|
||||
/**
|
||||
* Description.
|
||||
|
|
@ -55,7 +55,7 @@ final class GSDCostCenter implements \JsonSerializable
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $description = '';
|
||||
protected string $description = '';
|
||||
|
||||
/**
|
||||
* Cost center.
|
||||
|
|
@ -63,7 +63,7 @@ final class GSDCostCenter implements \JsonSerializable
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $costCenter = '';
|
||||
protected string $costCenter = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ final class GSDCostObject implements \JsonSerializable
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $id = 0;
|
||||
protected int $id = 0;
|
||||
|
||||
/**
|
||||
* Creator.
|
||||
|
|
@ -47,7 +47,7 @@ final class GSDCostObject implements \JsonSerializable
|
|||
* @var null|\DateTime
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $createdAt = null;
|
||||
protected ?\DateTime $createdAt = null;
|
||||
|
||||
/**
|
||||
* Description.
|
||||
|
|
@ -55,7 +55,7 @@ final class GSDCostObject implements \JsonSerializable
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $description = '';
|
||||
protected string $description = '';
|
||||
|
||||
/**
|
||||
* Cost object.
|
||||
|
|
@ -63,7 +63,7 @@ final class GSDCostObject implements \JsonSerializable
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
protected $costObject = '';
|
||||
protected string $costObject = '';
|
||||
|
||||
/**
|
||||
* Constructor.
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ class InterfaceManager
|
|||
* @var int
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $id = 0;
|
||||
private int $id = 0;
|
||||
|
||||
/**
|
||||
* File path.
|
||||
|
|
@ -43,7 +43,7 @@ class InterfaceManager
|
|||
* @var string
|
||||
* @since 1.0.0
|
||||
*/
|
||||
private $path = '';
|
||||
private string $path = '';
|
||||
|
||||
/**
|
||||
* Info data.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user