Updated PhpDoc

This commit is contained in:
netkas 2025-01-24 15:20:42 -05:00
parent a826f4f3a9
commit 71d921def5

View file

@ -12,6 +12,14 @@
private string $value; private string $value;
private PrivacyState $privacyState; private PrivacyState $privacyState;
/**
* Constructor method.
*
* @param array $data An associative array containing the keys:
* - 'name': The name of the information field.
* - 'value': The value of the information field.
* - 'privacy_state': The privacy state of the information field.
*/
public function __construct(array $data) public function __construct(array $data)
{ {
$this->name = InformationFieldName::from($data['name']); $this->name = InformationFieldName::from($data['name']);