소스 검색

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,