ソースを参照

fix ContactRequest::name type

olinox14 1 年間 前
コミット
bb54623795
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/ApiResource/ContactRequest.php

+ 1 - 1
src/ApiResource/ContactRequest.php

@@ -23,7 +23,7 @@ class ContactRequest
     )]
     )]
     protected string $email;
     protected string $email;
 
 
-    protected ?string $name = null;
+    protected string|null $name = null;
 
 
     #[Assert\Length(
     #[Assert\Length(
         min: 10,
         min: 10,