Skip to content

Commit

Permalink
Add feature from issue mautic#89 to v4.4 branch for PHP8 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Medizen committed Oct 10, 2023
1 parent 2a01bb6 commit b8377b0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Classes/Domain/Repository/ContactRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ public function editContact(int $id, array $data): array
return $this->contactsApi->edit($id, $data, false);
}

public function deleteContact(int $id): array
{
return $this->contactsApi->delete($id);
}

public function getContact(int $id): array
{
$contact = $this->contactsApi->get($id);
Expand Down

0 comments on commit b8377b0

Please sign in to comment.