Преглед изворни кода

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 $name = null;
+    protected string|null $name = null;
 
     #[Assert\Length(
         min: 10,