From 63675c78262bf6b3f9aca642928a18ab201e73d0 Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Sat, 6 Jul 2024 20:37:32 +0200 Subject: [PATCH] Remove nullable modifier from author name as it is now never null Cherry picks https://github.com/hydephp/develop/pull/1794/commits/f389ef4fecd10a4ca05dcf82fc9043abbaa92585 as it was lost when merging the branch into 2.x --- .../src/Framework/Features/Blogging/Models/PostAuthor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/framework/src/Framework/Features/Blogging/Models/PostAuthor.php b/packages/framework/src/Framework/Features/Blogging/Models/PostAuthor.php index 665279ba2cd..d28d271e370 100644 --- a/packages/framework/src/Framework/Features/Blogging/Models/PostAuthor.php +++ b/packages/framework/src/Framework/Features/Blogging/Models/PostAuthor.php @@ -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.