mirror of
https://github.com/Karaka-Management/oms-Editor.git
synced 2026-02-15 17:58:41 +00:00
fix after change to php 7.4
This commit is contained in:
parent
3bf404fdf4
commit
4365a91577
|
|
@ -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.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user