fix after change to php 7.4

This commit is contained in:
Dennis Eichhorn 2019-08-17 14:14:51 +02:00
parent fb760e2d70
commit f26b0298de
2 changed files with 9 additions and 9 deletions

View File

@ -30,7 +30,7 @@ class Issue
* @var int
* @since 1.0.0
*/
private $id = 0;
private int $id = 0;
/**
* Name.
@ -38,7 +38,7 @@ class Issue
* @var string
* @since 1.0.0
*/
private $name = '';
private string $name = '';
/**
* Description.
@ -46,7 +46,7 @@ class Issue
* @var string
* @since 1.0.0
*/
private $description = '';
private string $description = '';
/**
* Created.
@ -54,7 +54,7 @@ class Issue
* @var null|\DateTime
* @since 1.0.0
*/
private $created = null;
private ?\DateTime $created = null;
/**
* Creator.
@ -62,7 +62,7 @@ class Issue
* @var int
* @since 1.0.0
*/
private $creator = null;
private int $creator = null;
private static $instances = [];

View File

@ -31,7 +31,7 @@ class Message
* @var string
* @since 1.0.0
*/
private $name = '';
private string $name = '';
/**
* Description.
@ -39,7 +39,7 @@ class Message
* @var string
* @since 1.0.0
*/
private $description = '';
private string $description = '';
/**
* Created.
@ -47,7 +47,7 @@ class Message
* @var null|\DateTime
* @since 1.0.0
*/
private $created = null;
private ?\DateTime $created = null;
/**
* Creator.
@ -55,7 +55,7 @@ class Message
* @var int
* @since 1.0.0
*/
private $creator = null;
private int $creator = null;
private static $instances = [];