Explorar el Código

fix ContactRequest::name type

olinox14 hace 1 año
padre
commit
bb54623795
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,