diff --git a/app/Classes/Modules/Contacts/DataTransferObjects/ContactObject.php b/app/Classes/Modules/Contacts/DataTransferObjects/ContactObject.php index 0ff45ae..aba325d 100644 --- a/app/Classes/Modules/Contacts/DataTransferObjects/ContactObject.php +++ b/app/Classes/Modules/Contacts/DataTransferObjects/ContactObject.php @@ -1,10 +1,16 @@ type = $type; + $this->referenceId = $referenceId; $this->name = $name; $this->designation = $designation; - $this->email = $email; $this->contact = $contact; + $this->email = $email; + } + + /** + * @return int + */ + public function getType(): int + { + return $this->type; + } + + /** + * @return int + */ + public function getReferenceId(): int + { + return $this->referenceId; } /** @@ -58,14 +74,6 @@ class ContactObject return $this->designation; } - /** - * @return string - */ - public function getEmail(): string - { - return $this->email; - } - /** * @return string */ @@ -75,52 +83,14 @@ class ContactObject } /** - * @return int|null + * @return string */ - public function getType(): ?int + public function getEmail(): string { - return $this->type; + return $this->email; } - /** - * @return int|null - */ - public function getReferenceId(): ?int - { - return $this->referenceId; - } - /** - * @return int|null - */ - public function getId() - { - return $this->id; - } - - /** - * @param int|null $type - */ - public function setType($type) - { - $this->type = $type; - } - - /** - * @param int|null $referenceId - */ - public function setReferenceId($referenceId) - { - $this->referenceId = $referenceId; - } - - /** - * @param int|null $id - */ - public function setId($id) - { - $this->id = $id; - }