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.
1 parent abb8b96 commit 1bd0f92Copy full SHA for 1bd0f92
CHANGELOG.md
@@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. This projec
5
6
## Unreleased
7
8
+### Fixed
9
+
10
+- [#5](https://github.com/laravel-json-api/encoder-neomerx/issues/5) Fix error with default value for `$jsonApi`
11
+ property on the `Document` class.
12
13
## [3.1.0] - 2023-11-08
14
15
### 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