File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/framework/src/Facades Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 44
55namespace Hyde \Facades ;
66
7+ use JetBrains \PhpStorm \Deprecated ;
78use Hyde \Framework \Features \Blogging \Models \PostAuthor ;
89use Illuminate \Support \Collection ;
910
@@ -24,7 +25,7 @@ class Author
2425 * @param string|null $name The optional display name of the author, leave blank to use the username.
2526 * @param string|null $website The author's optional website URL. Website, Twitter, etc.
2627 */
27- public static function create (string $ username , ?string $ name = null , ?string $ website = null ): PostAuthor
28+ public static function create (#[Deprecated] string $ username , ?string $ name = null , ?string $ website = null ): PostAuthor
2829 {
2930 return new PostAuthor ($ username , $ name , $ website );
3031 }
You can’t perform that action at this time.
0 commit comments