Skip to content

Commit 256ec65

Browse files
authored
Avoiding $emailAddress property accessed before initialization error. (#92)
1 parent eb8b380 commit 256ec65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Issue/Reporter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class Reporter implements \JsonSerializable
1212

1313
public ?string $name = null;
1414

15-
public string $emailAddress;
15+
public ?string $emailAddress = null;
1616

1717
public array|null $avatarUrls;
1818

0 commit comments

Comments
 (0)