fix after change to php 7.4

This commit is contained in:
Dennis Eichhorn 2019-08-17 14:14:51 +02:00
parent 58a4c1ac35
commit 0b8b52ee7d
3 changed files with 10 additions and 10 deletions

View File

@ -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.

View File

@ -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.

View File

@ -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.