Skip to content

Commit 6315b1f

Browse files
committed
Merge branch 'develop' into 4.x
2 parents 98618d6 + cb3124e commit 6315b1f

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. This projec
55

66
## Unreleased
77

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+
815
## [3.1.0] - 2023-11-08
916

1017
### Changed

src/Document.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ abstract class Document implements JsonApiDocument
4040
/**
4141
* @var JsonApi|null
4242
*/
43-
private ?JsonApi $jsonApi;
43+
private ?JsonApi $jsonApi = null;
4444

4545
/**
4646
* @var Links|null

0 commit comments

Comments
 (0)