Skip to content

Commit

Permalink
fixed #34 - Typed property initializing
Browse files Browse the repository at this point in the history
  • Loading branch information
lesstif committed Jan 11, 2023
1 parent 3299da4 commit f0ed799
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ADF/AtlassianDocumentFormat.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class AtlassianDocumentFormat implements \JsonSerializable

public string $version;

private Document $document;
private ?Document $document = null;

public function __construct(Document|Node $document)
{
Expand Down
2 changes: 1 addition & 1 deletion src/Issue/IssueField.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class IssueField implements \JsonSerializable

public ?DateTimeInterface $updated = null;

public ?AtlassianDocumentFormat $description;
public ?AtlassianDocumentFormat $description = null;

public ?Priority $priority = null;

Expand Down

0 comments on commit f0ed799

Please sign in to comment.