Skip to content

Commit

Permalink
Merge branch 'hotfix/3.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
lindyhopchris committed Nov 20, 2023
2 parents abb8b96 + 3a8e7b5 commit 30dbfe0
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file. This projec

## Unreleased

## [3.1.1] - 2023-11-20

### Fixed

- [#5](https://github.com/laravel-json-api/encoder-neomerx/issues/5) Fix error with default value for `$jsonApi`
property on the `Document` class.

## [3.1.0] - 2023-11-08

### Changed
Expand Down
2 changes: 1 addition & 1 deletion src/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ abstract class Document implements JsonApiDocument
/**
* @var JsonApi|null
*/
private ?JsonApi $jsonApi;
private ?JsonApi $jsonApi = null;

/**
* @var Links|null
Expand Down

0 comments on commit 30dbfe0

Please sign in to comment.