Browse Source

fix ContactRequest::name type

olinox14 1 year ago
parent
commit
bb54623795
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/ApiResource/ContactRequest.php

+ 1 - 1
src/ApiResource/ContactRequest.php

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