Skip to content

Commit 63675c7

Browse files
committed
Remove nullable modifier from author name as it is now never null
Cherry picks f389ef4 as it was lost when merging the branch into 2.x
1 parent 25dd9da commit 63675c7

File tree

1 file changed

+1
-1
lines changed
  • packages/framework/src/Framework/Features/Blogging/Models

1 file changed

+1
-1
lines changed

packages/framework/src/Framework/Features/Blogging/Models/PostAuthor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class PostAuthor implements Stringable, SerializableContract
3434
/**
3535
* The display name of the author.
3636
*/
37-
public readonly ?string $name;
37+
public readonly string $name;
3838

3939
/**
4040
* The author's website URL.

0 commit comments

Comments
 (0)