fix after change to php 7.4

This commit is contained in:
Dennis Eichhorn 2019-08-17 14:14:51 +02:00
parent 3bf404fdf4
commit 4365a91577

View File

@ -33,7 +33,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable
* @var int * @var int
* @since 1.0.0 * @since 1.0.0
*/ */
private $id = 0; private int $id = 0;
/** /**
* Title. * Title.
@ -41,7 +41,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private $title = ''; private string $title = '';
/** /**
* Content. * Content.
@ -49,7 +49,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private $content = ''; private string $content = '';
/** /**
* Unparsed. * Unparsed.
@ -57,7 +57,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private $plain = ''; private string $plain = '';
/** /**
* Doc path for organizing. * Doc path for organizing.
@ -65,7 +65,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable
* @var string * @var string
* @since 1.0.0 * @since 1.0.0
*/ */
private $path = ''; private string $path = '';
/** /**
* Created. * Created.
@ -73,7 +73,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable
* @var null|\DateTime * @var null|\DateTime
* @since 1.0.0 * @since 1.0.0
*/ */
private $createdAt = null; private ?\DateTime $createdAt = null;
/** /**
* Creator. * Creator.