Selaa lähdekoodia

fix ContactRequest::name type

olinox14 1 vuosi sitten
vanhempi
commit
bb54623795
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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,