Skip to content

Commit

Permalink
Remove nullable modifier from author name as it is now never null
Browse files Browse the repository at this point in the history
Cherry picks f389ef4 as it was lost when merging the branch into 2.x
  • Loading branch information
caendesilva committed Jul 7, 2024
1 parent 25dd9da commit 63675c7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class PostAuthor implements Stringable, SerializableContract
/**
* The display name of the author.
*/
public readonly ?string $name;
public readonly string $name;

/**
* The author's website URL.
Expand Down

0 comments on commit 63675c7

Please sign in to comment.