mirror of
https://github.com/Karaka-Management/oms-Exchange.git
synced 2026-02-15 09:18:41 +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
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $id = 0;
|
protected int $id = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creator.
|
* Creator.
|
||||||
|
|
@ -47,7 +47,7 @@ final class GSDCostCenter implements \JsonSerializable
|
||||||
* @var null|\DateTime
|
* @var null|\DateTime
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $createdAt = null;
|
protected ?\DateTime $createdAt = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Description.
|
* Description.
|
||||||
|
|
@ -55,7 +55,7 @@ final class GSDCostCenter implements \JsonSerializable
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $description = '';
|
protected string $description = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cost center.
|
* Cost center.
|
||||||
|
|
@ -63,7 +63,7 @@ final class GSDCostCenter implements \JsonSerializable
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $costCenter = '';
|
protected string $costCenter = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ final class GSDCostObject implements \JsonSerializable
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $id = 0;
|
protected int $id = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creator.
|
* Creator.
|
||||||
|
|
@ -47,7 +47,7 @@ final class GSDCostObject implements \JsonSerializable
|
||||||
* @var null|\DateTime
|
* @var null|\DateTime
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $createdAt = null;
|
protected ?\DateTime $createdAt = null;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Description.
|
* Description.
|
||||||
|
|
@ -55,7 +55,7 @@ final class GSDCostObject implements \JsonSerializable
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $description = '';
|
protected string $description = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Cost object.
|
* Cost object.
|
||||||
|
|
@ -63,7 +63,7 @@ final class GSDCostObject implements \JsonSerializable
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
protected $costObject = '';
|
protected string $costObject = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Constructor.
|
* Constructor.
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ class InterfaceManager
|
||||||
* @var int
|
* @var int
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $id = 0;
|
private int $id = 0;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* File path.
|
* File path.
|
||||||
|
|
@ -43,7 +43,7 @@ class InterfaceManager
|
||||||
* @var string
|
* @var string
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
private $path = '';
|
private string $path = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Info data.
|
* Info data.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user