فهرست منبع

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,