diff --git a/Models/EditorDoc.php b/Models/EditorDoc.php index c795e56..f31f582 100644 --- a/Models/EditorDoc.php +++ b/Models/EditorDoc.php @@ -34,7 +34,7 @@ class EditorDoc implements ArrayableInterface, \JsonSerializable * @var int * @since 1.0.0 */ - private int $id = 0; + protected int $id = 0; /** * Title. diff --git a/Models/NullEditorDoc.php b/Models/NullEditorDoc.php new file mode 100644 index 0000000..083cbd9 --- /dev/null +++ b/Models/NullEditorDoc.php @@ -0,0 +1,39 @@ +id = $id; + parent::__construct(); + } +}