Skip to content

Commit

Permalink
Fix required fields on Contact DTO
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Babushkin committed Sep 17, 2021
1 parent 4db90a5 commit 75b280b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DTO/Contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@ final class Contact extends DataTransferObject
/**
* The identifying name of the contact person/organization.
*/
public string $name;
public ?string $name;

/**
* The URL pointing to the contact information. MUST be in the format of a URL.
*/
public string $url;
public ?string $url;

/**
* The email address of the contact person/organization. MUST be in the format of an email address.
Expand Down

0 comments on commit 75b280b

Please sign in to comment.