Skip to content

Commit f16f38f

Browse files
committed
Remove nullable modifier from author name as it is now never null
1 parent a6b3ccd commit f16f38f

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
@@ -27,7 +27,7 @@ class PostAuthor implements Stringable
2727
/**
2828
* The display name of the author.
2929
*/
30-
public readonly ?string $name;
30+
public readonly string $name;
3131

3232
/**
3333
* The author's website URL.

0 commit comments

Comments
 (0)