We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents abb8b96 + 3a8e7b5 commit 30dbfe0Copy full SHA for 30dbfe0
CHANGELOG.md
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. This projec
5
6
## Unreleased
7
8
+## [3.1.1] - 2023-11-20
9
+
10
+### Fixed
11
12
+- [#5](https://github.com/laravel-json-api/encoder-neomerx/issues/5) Fix error with default value for `$jsonApi`
13
+ property on the `Document` class.
14
15
## [3.1.0] - 2023-11-08
16
17
### Changed
src/Document.php
@@ -40,7 +40,7 @@ abstract class Document implements JsonApiDocument
40
/**
41
* @var JsonApi|null
42
*/
43
- private ?JsonApi $jsonApi;
+ private ?JsonApi $jsonApi = null;
44
45
46
* @var Links|null
0 commit comments